public class ServerApp extends Object implements Serializable
| Constructor and Description |
|---|
ServerApp(String name,
String description,
String className,
String classPath) |
| Modifier and Type | Method and Description |
|---|---|
String |
getClassName()
Returns the main class name of this server application that implements
the AppListener interface in the sgs core.
|
String |
getClassPath()
Returns the classpath required to run the server application.
|
List<ServerAppConfig> |
getConfigs()
Returns a list of server application configurations that can be used
to run this server application.
|
String |
getDescription() |
Long |
getId()
Returns the id of the entity in persistent storage
|
String |
getName() |
PkgLibrary |
getRequiredPkg()
Returns the package library required to run this server application.
|
Long |
getVersionNumber()
Returns the version number in the data store that this entity represents.
|
void |
setClassName(String className) |
void |
setClassPath(String classPath) |
void |
setConfigs(List<ServerAppConfig> configs) |
void |
setDescription(String description) |
void |
setId(Long id) |
void |
setName(String name) |
void |
setRequiredPkg(PkgLibrary requiredPkg) |
protected void |
setVersionNumber(Long versionNumber) |
public Long getId()
public void setId(Long id)
public Long getVersionNumber()
protected void setVersionNumber(Long versionNumber)
public String getName()
public void setName(String name)
public String getDescription()
public void setDescription(String description)
public String getClassName()
public void setClassName(String className)
public String getClassPath()
required zip archive.public void setClassPath(String classPath)
public List<ServerAppConfig> getConfigs()
public void setConfigs(List<ServerAppConfig> configs)
public PkgLibrary getRequiredPkg()
public void setRequiredPkg(PkgLibrary requiredPkg)
Copyright © 2013. All Rights Reserved.