Class JobAgentSettingsData

All Implemented Interfaces:

public class JobAgentSettingsData
extends BasicData
This class holds information about plugin settings for a particular job agent.
See Also:
JobAgentSettings, Developer documentation: Plug-ins, jobs and job agents
Last modified
$Date: 2011-10-21 13:15:41 +0200 (fr, 21 okt 2011) $
Hibernate: class
table="`JobAgentSettings`" lazy="true"
  • Field Details

    • jobAgent

      private JobAgentData jobAgent
    • pluginDefinition

      private PluginDefinitionData pluginDefinition
    • trusted

      private Boolean trusted
    • maxMemory

      private Long maxMemory
    • priorityBoost

      private int priorityBoost
  • Constructor Details

    • JobAgentSettingsData

      public JobAgentSettingsData()
  • Method Details

    • getJobAgent

      public JobAgentData getJobAgent()
      The job agent these settings belong to.
      Hibernate: many-to-one
      column="`jobagent_id`" not-null="true" outer-join="false" update="false"
    • setJobAgent

      public void setJobAgent​(JobAgentData jobAgent)
    • getPluginDefinition

      public PluginDefinitionData getPluginDefinition()
      The plugin these settings are used for.
      Hibernate: many-to-one
      column="`plugindefinition_id`" not-null="true" outer-join="false" update="false"
    • setPluginDefinition

      public void setPluginDefinition​(PluginDefinitionData pluginDefinition)
    • isTrusted

      public Boolean 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

      public void setTrusted​(Boolean trusted)
    • getMaxMemory

      public Long 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

      public void setMaxMemory​(Long maxMemory)
    • 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)