public class Deployment extends GroupableConfiguration<DeploymentInfo> implements HasFile
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEPLOYMENT_ENDPOINT |
CLUSTERCONFIG_PARAM, FILE_PARAM| Constructor and Description |
|---|
Deployment() |
Deployment(Deployment deployment,
java.io.File jarFile) |
Deployment(java.lang.String jarFileName,
java.lang.String deployedBy,
java.lang.String deployedTime) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
CommandType |
getCreationCommandType() |
java.lang.String |
getDeployedBy() |
java.lang.String |
getDeployedTime() |
java.io.File |
getFile() |
java.lang.String |
getFileName() |
java.lang.String |
getFilePath() |
java.lang.String |
getId()
Returns the attribute of the configuration that uniquely identifies it
|
Links |
getLinks() |
int |
hashCode() |
void |
setDeployedBy(java.lang.String deployedBy)
For internal use only
|
void |
setDeployedTime(java.lang.String deployedTime)
For internal use only
|
void |
setFile(java.io.File file) |
void |
setFileName(java.lang.String jarFileName) |
java.lang.String |
toString() |
getGroup, setGroupgetGroupName, isCluster, isGlobalRuntimepublic static final java.lang.String DEPLOYMENT_ENDPOINT
public Deployment()
public Deployment(java.lang.String jarFileName,
java.lang.String deployedBy,
java.lang.String deployedTime)
public Deployment(Deployment deployment, java.io.File jarFile)
public java.lang.String getFilePath()
public java.lang.String getId()
AbstractConfigurationgetId in interface org.apache.geode.lang.Identifiable<java.lang.String>getId in class AbstractConfiguration<DeploymentInfo>public java.lang.String getFileName()
getFileName in interface HasFilepublic void setFileName(java.lang.String jarFileName)
public java.lang.String getDeployedTime()
public void setDeployedTime(java.lang.String deployedTime)
deployedTime - the deployed time valuepublic java.lang.String getDeployedBy()
public void setDeployedBy(java.lang.String deployedBy)
deployedBy - the deployed by valuepublic Links getLinks()
getLinks in class AbstractConfiguration<DeploymentInfo>public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class GroupableConfiguration<DeploymentInfo>public int hashCode()
hashCode in class GroupableConfiguration<DeploymentInfo>public CommandType getCreationCommandType()
getCreationCommandType in class AbstractConfiguration<DeploymentInfo>