com.heroku.api
Class App

java.lang.Object
  extended by com.heroku.api.App
All Implemented Interfaces:
Serializable

public class App
extends Object
implements Serializable

Data model for a Heroku App. Also serves as a builder class when making requests to create an app.

Author:
Naaman Newbold
See Also:
Serialized Form

Constructor Summary
App()
           
 
Method Summary
 String getBuildpackProvidedDescription()
           
 String getCreatedAt()
           
 String getCreateStatus()
           
 Domain getDomain()
           
 int getDynos()
           
 String getGitUrl()
           
 String getId()
           
 String getName()
           
 String getOwnerEmail()
           
 String getRepoMigrateStatus()
           
 int getRepoSize()
           
 String getRequestedStack()
           
 int getSlugSize()
           
 Heroku.Stack getStack()
           
 String getWebUrl()
           
 int getWorkers()
           
 App named(String name)
          Builder method for specifying the name of an app.
 App on(Heroku.Stack stack)
          Builder method for specifying the stack an app should be created on.
 void setDomain_name(Domain domain_name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

App

public App()
Method Detail

named

public App named(String name)
Builder method for specifying the name of an app.

Parameters:
name - The name to give an app.
Returns:
A copy of the App

on

public App on(Heroku.Stack stack)
Builder method for specifying the stack an app should be created on.

Parameters:
stack - Stack to create the app on.
Returns:
A copy of the App

getId

public String getId()

setDomain_name

public void setDomain_name(Domain domain_name)

getName

public String getName()

getDomain

public Domain getDomain()

getWebUrl

public String getWebUrl()

getGitUrl

public String getGitUrl()

getBuildpackProvidedDescription

public String getBuildpackProvidedDescription()

getCreateStatus

public String getCreateStatus()

getCreatedAt

public String getCreatedAt()

getStack

public Heroku.Stack getStack()

getRequestedStack

public String getRequestedStack()

getRepoMigrateStatus

public String getRepoMigrateStatus()

getSlugSize

public int getSlugSize()

getRepoSize

public int getRepoSize()

getDynos

public int getDynos()

getWorkers

public int getWorkers()

getOwnerEmail

public String getOwnerEmail()


Copyright © 2012. All Rights Reserved.