@Entity public class InfrastructureParameter extends AbstractUUIDEntity implements Serializable, Comparable<InfrastructureParameter>, Cloneable
Type is defined by the @Type enum.
| Modifier and Type | Field and Description |
|---|---|
static String |
INFRASTRUCTURE_PARAMETER_NAME_COLUMN |
static String |
INFRASTRUCTURE_PARAMETER_READY_FOR_TESTGRID_METAMODEL_NAME |
static String |
INFRASTRUCTURE_PARAMETER_TYPE_METAMODEL_NAME
We need to replace these metamodel names by generating the JPA Metamodel for this entity.
|
ID_COLUMN| Constructor and Description |
|---|
InfrastructureParameter() |
InfrastructureParameter(String name,
String type,
String properties,
boolean readyForTestGrid) |
| Modifier and Type | Method and Description |
|---|---|
InfrastructureParameter |
clone() |
int |
compareTo(InfrastructureParameter o) |
boolean |
equals(Object o) |
String |
getName()
Name is a unique identifier for a given infrastructure.
|
List<InfrastructureParameter> |
getProcessedSubInfrastructureParameters()
Processes the
properties field, and generate a list of sub infrastructure parameters. |
String |
getProperties()
The properties list make include information about this
InfrastructureParameter. |
String |
getType() |
int |
hashCode() |
boolean |
isReadyForTestGrid() |
void |
setName(String name) |
void |
setProperties(String properties) |
void |
setReadyForTestGrid(boolean readyForTestGrid) |
void |
setType(String type) |
String |
toString() |
void |
transform()
TODO: This is a temporary method until we fix the infrastructure_parameter table
to contain uniquely distinguishable 'name' column.
|
generateUUID, getCreatedTimestamp, getId, getModifiedTimestamp, setCreatedTimestamp, setId, setModifiedTimestamppublic static final String INFRASTRUCTURE_PARAMETER_NAME_COLUMN
public static final String INFRASTRUCTURE_PARAMETER_TYPE_METAMODEL_NAME
public static final String INFRASTRUCTURE_PARAMETER_READY_FOR_TESTGRID_METAMODEL_NAME
public InfrastructureParameter(String name, String type, String properties, boolean readyForTestGrid)
public InfrastructureParameter()
public String getName()
InfrastructureParameter name.public void setName(String name)
public String getType()
public void setType(String type)
public String getProperties()
InfrastructureParameter.
Typical properties may include the AMI_ID, RDS_ID etc.InfrastructureParameterpublic void setProperties(String properties)
public boolean isReadyForTestGrid()
public void setReadyForTestGrid(boolean readyForTestGrid)
public List<InfrastructureParameter> getProcessedSubInfrastructureParameters()
properties field, and generate a list of sub infrastructure parameters.public int compareTo(InfrastructureParameter o)
compareTo in interface Comparable<InfrastructureParameter>public InfrastructureParameter clone()
public void transform()
Copyright © 2019 WSO2. All rights reserved.