|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.basedb.core.data.BasicData net.sf.basedb.core.data.JobAgentSettingsData
public class JobAgentSettingsData
This class holds information about plugin settings for a particular job agent.
JobAgentSettings
,
Plugin/jobs overviewField Summary | |
---|---|
private String |
jarPath
|
private JobAgentData |
jobAgent
|
static int |
MAX_JARPATH_LENGTH
|
private Long |
maxMemory
|
private PluginDefinitionData |
pluginDefinition
|
private int |
priorityBoost
|
private Boolean |
trusted
|
Constructor Summary | |
---|---|
JobAgentSettingsData()
|
Method Summary | |
---|---|
String |
getJarPath()
Get the path to the JAR file where the plugin class is located. |
JobAgentData |
getJobAgent()
The job agent these settings belong to. |
Long |
getMaxMemory()
The max amount of memory the plugin can use. |
PluginDefinitionData |
getPluginDefinition()
The plugin these settings are used for. |
int |
getPriorityBoost()
The priority boost for this plugin. |
Boolean |
isTrusted()
If the plugin should be trusted or not. |
void |
setJarPath(String jarPath)
|
void |
setJobAgent(JobAgentData jobAgent)
|
void |
setMaxMemory(Long maxMemory)
|
void |
setPluginDefinition(PluginDefinitionData pluginDefinition)
|
void |
setPriorityBoost(int priorityBoost)
|
void |
setTrusted(Boolean trusted)
|
Methods inherited from class net.sf.basedb.core.data.BasicData |
---|
equals, getId, getVersion, hashCode, setId, setVersion, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private JobAgentData jobAgent
private PluginDefinitionData pluginDefinition
public static final int MAX_JARPATH_LENGTH
private String jarPath
private Boolean trusted
private Long maxMemory
private int priorityBoost
Constructor Detail |
---|
public JobAgentSettingsData()
Method Detail |
---|
public JobAgentData getJobAgent()
public void setJobAgent(JobAgentData jobAgent)
public PluginDefinitionData getPluginDefinition()
public void setPluginDefinition(PluginDefinitionData pluginDefinition)
public String getJarPath()
PluginDefinitionData.getJarPath()
public void setJarPath(String jarPath)
public Boolean isTrusted()
PluginDefinitionData.isTrusted()
public void setTrusted(Boolean trusted)
public Long getMaxMemory()
PluginDefinitionData.getMaxMemory()
public void setMaxMemory(Long maxMemory)
public int getPriorityBoost()
public void setPriorityBoost(int priorityBoost)
|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |