public class Deployment extends GroupableConfiguration<DeploymentInfo> implements HasFile
Modifier and Type | Field and Description |
---|---|
static String |
DEPLOYMENT_ENDPOINT |
CLUSTER
CONFIG_PARAM, FILE_PARAM
Constructor and Description |
---|
Deployment() |
Deployment(Deployment deployment,
File jarFile) |
Deployment(String jarFileName,
String deployedBy,
String deployedTime) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
CommandType |
getCreationCommandType() |
String |
getDeployedBy() |
String |
getDeployedTime() |
File |
getFile() |
String |
getFileName() |
String |
getFilePath() |
String |
getId()
Returns the attribute of the configuration that uniquely identifies it
|
Links |
getLinks() |
int |
hashCode() |
void |
setDeployedBy(String deployedBy)
For internal use only
|
void |
setDeployedTime(String deployedTime)
For internal use only
|
void |
setFile(File file) |
void |
setFileName(String jarFileName) |
String |
toString() |
getGroup, setGroup
getGroupName, isCluster, isGlobalRuntime
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
exists, find, remove
public static final String DEPLOYMENT_ENDPOINT
public Deployment()
public Deployment(Deployment deployment, File jarFile)
public String getFilePath()
public String getId()
AbstractConfiguration
getId
in interface Identifiable<String>
getId
in class AbstractConfiguration<DeploymentInfo>
public String getFileName()
getFileName
in interface HasFile
public void setFileName(String jarFileName)
public String getDeployedTime()
public void setDeployedTime(String deployedTime)
deployedTime
- the deployed time valuepublic String getDeployedBy()
public void setDeployedBy(String deployedBy)
deployedBy
- the deployed by valuepublic Links getLinks()
getLinks
in class AbstractConfiguration<DeploymentInfo>
public boolean equals(Object o)
equals
in class GroupableConfiguration<DeploymentInfo>
public int hashCode()
hashCode
in class GroupableConfiguration<DeploymentInfo>
public CommandType getCreationCommandType()
getCreationCommandType
in class AbstractConfiguration<DeploymentInfo>