Package net.sf.basedb.core.data
Class JobAgentSettingsData
java.lang.Object
net.sf.basedb.core.data.BasicData
net.sf.basedb.core.data.JobAgentSettingsData
- All Implemented Interfaces:
IdentifiableData
This class holds information about plugin settings for
a particular job agent.
- Version:
- 2.0
- Author:
- Nicklas
- See Also:
- Last modified
- $Date: 2011-10-21 13:15:41 +0200 (fr, 21 okt 2011) $
- Hibernate: class
- table="`JobAgentSettings`" lazy="true"
-
Field Summary
Modifier and TypeFieldDescriptionprivate JobAgentData
private Long
private PluginDefinitionData
private int
private Boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe job agent these settings belong to.The max amount of memory the plugin can use.The plugin these settings are used for.int
The priority boost for this plugin.If the plugin should be trusted or not.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
-
Field Details
-
jobAgent
-
pluginDefinition
-
trusted
-
maxMemory
-
priorityBoost
private int priorityBoost
-
-
Constructor Details
-
JobAgentSettingsData
public JobAgentSettingsData()
-
-
Method Details
-
getJobAgent
The job agent these settings belong to.- Hibernate: many-to-one
- column="`jobagent_id`" not-null="true" outer-join="false" update="false"
-
setJobAgent
-
getPluginDefinition
The plugin these settings are used for.- Hibernate: many-to-one
- column="`plugindefinition_id`" not-null="true" outer-join="false" update="false"
-
setPluginDefinition
-
isTrusted
If the plugin should be trusted or not. If the value is null the setting specified by the plugin definition should be used.- See Also:
- Hibernate: property
- column="`trusted`" type="boolean" not-null="false"
-
setTrusted
-
getMaxMemory
The max amount of memory the plugin can use. If the value is null the setting specified by the plugin definition should be used.- See Also:
- Hibernate: property
- column="`max_memory`" type="long" not-null="false"
-
setMaxMemory
-
getPriorityBoost
public int getPriorityBoost()The priority boost for this plugin. Ie. allows certain plugins to go ahead in the job queue.- Hibernate: property
- column="`priority_boost`" type="int" not-null="true"
-
setPriorityBoost
public void setPriorityBoost(int priorityBoost)
-