|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.projectdarkstar.tools.dtc.data.AbstractDTO
com.projectdarkstar.tools.dtc.data.ServerAppConfigDTO
public class ServerAppConfigDTO
Represents a runtime configuration for a ServerAppDTO
| Constructor Summary | |
|---|---|
ServerAppConfigDTO(Long id,
Long versionNumber,
String name,
String additionalCommandLine)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
String |
getAdditionalCommandLine()
Returns a string to be appended to the runtime command line used to start the server application. |
Long |
getId()
Returns the id of the entity in persistent storage |
String |
getName()
|
List<PropertyDTO> |
getProperties()
Returns a list of arguments in the form of PropertyDTO objects
to be passed to the server during run time. |
ServerAppDTO |
getServerApp()
Returns the parent ServerAppDTO which this configuration
is associated with. |
Long |
getVersionNumber()
Returns the version number in the data store that this entity represents. |
int |
hashCode()
|
protected void |
setAdditionalCommandLine(String additionalCommandLine)
|
void |
setId(Long id)
|
protected void |
setName(String name)
|
protected void |
setProperties(List<PropertyDTO> properties)
|
protected void |
setServerApp(ServerAppDTO serverApp)
|
void |
updateName(String name)
|
void |
validate()
Validates that each attribute and pending updated attribute (from the updatedAttributes Map) has a valid value in the context of the particular object. |
| Methods inherited from class com.projectdarkstar.tools.dtc.data.AbstractDTO |
|---|
checkBlank, checkNull, getFullyPopulated, getUpdatedAttributes, updateAttribute, valueToValidate |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServerAppConfigDTO(Long id,
Long versionNumber,
String name,
String additionalCommandLine)
| Method Detail |
|---|
public Long getId()
getId in class AbstractDTOpublic void setId(Long id)
public Long getVersionNumber()
public String getName()
protected void setName(String name)
public void updateName(String name)
throws DTCInvalidDataException
DTCInvalidDataExceptionpublic String getAdditionalCommandLine()
protected void setAdditionalCommandLine(String additionalCommandLine)
public ServerAppDTO getServerApp()
ServerAppDTO which this configuration
is associated with.
ServerAppDTO for this configurationprotected void setServerApp(ServerAppDTO serverApp)
public List<PropertyDTO> getProperties()
PropertyDTO objects
to be passed to the server during run time.
protected void setProperties(List<PropertyDTO> properties)
public void validate()
throws DTCInvalidDataException
AbstractDTO
validate in class AbstractDTODTCInvalidDataExceptionpublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||