Class Deployment
- java.lang.Object
-
- org.apache.geode.management.configuration.AbstractConfiguration<R>
-
- org.apache.geode.management.configuration.GroupableConfiguration<DeploymentInfo>
-
- org.apache.geode.management.configuration.Deployment
-
- All Implemented Interfaces:
java.io.Serializable
,Identifiable<java.lang.String>
,JsonSerializable
,HasFile
public class Deployment extends GroupableConfiguration<DeploymentInfo> implements HasFile
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DEPLOYMENT_ENDPOINT
-
Fields inherited from class org.apache.geode.management.configuration.AbstractConfiguration
CLUSTER
-
Fields inherited from interface org.apache.geode.management.configuration.HasFile
CONFIG_PARAM, FILE_PARAM
-
-
Constructor Summary
Constructors Constructor Description Deployment()
Deployment(java.lang.String jarFileName, java.lang.String deployedBy, java.lang.String deployedTime)
Deployment(Deployment deployment, java.io.File jarFile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 itLinks
getLinks()
int
hashCode()
void
setDeployedBy(java.lang.String deployedBy)
For internal use onlyvoid
setDeployedTime(java.lang.String deployedTime)
For internal use onlyvoid
setFile(java.io.File file)
void
setFileName(java.lang.String jarFileName)
java.lang.String
toString()
-
Methods inherited from class org.apache.geode.management.configuration.GroupableConfiguration
getGroup, setGroup
-
Methods inherited from class org.apache.geode.management.configuration.AbstractConfiguration
getGroupName, isCluster, isGlobalRuntime
-
-
-
-
Field Detail
-
DEPLOYMENT_ENDPOINT
public static final java.lang.String DEPLOYMENT_ENDPOINT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Deployment
public Deployment()
-
Deployment
public Deployment(java.lang.String jarFileName, java.lang.String deployedBy, java.lang.String deployedTime)
-
Deployment
public Deployment(Deployment deployment, java.io.File jarFile)
-
-
Method Detail
-
getFilePath
public java.lang.String getFilePath()
-
getId
public java.lang.String getId()
Description copied from class:AbstractConfiguration
Returns the attribute of the configuration that uniquely identifies it- Specified by:
getId
in interfaceIdentifiable<java.lang.String>
- Specified by:
getId
in classAbstractConfiguration<DeploymentInfo>
- Returns:
- an identifier uniquely identifying this Object.
-
getFileName
public java.lang.String getFileName()
- Specified by:
getFileName
in interfaceHasFile
-
setFileName
public void setFileName(java.lang.String jarFileName)
-
getDeployedTime
public java.lang.String getDeployedTime()
-
setDeployedTime
public void setDeployedTime(java.lang.String deployedTime)
For internal use only- Parameters:
deployedTime
- the deployed time value
-
getDeployedBy
public java.lang.String getDeployedBy()
-
setDeployedBy
public void setDeployedBy(java.lang.String deployedBy)
For internal use only- Parameters:
deployedBy
- the deployed by value
-
getLinks
public Links getLinks()
- Specified by:
getLinks
in classAbstractConfiguration<DeploymentInfo>
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classGroupableConfiguration<DeploymentInfo>
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classGroupableConfiguration<DeploymentInfo>
-
getCreationCommandType
public CommandType getCreationCommandType()
- Overrides:
getCreationCommandType
in classAbstractConfiguration<DeploymentInfo>
-
-