Class JobAgentData

All Implemented Interfaces:
IdentifiableData, NameableData, OwnableData, RemovableData, ShareableData

public class JobAgentData extends CommonData
This class holds information about a 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="`JobAgents`" lazy="false"
  • Field Details

  • Constructor Details

    • JobAgentData

      public JobAgentData()
  • Method Details

    • getExternalId

      public String getExternalId()
      Get the external ID for the job agent.
      Hibernate: property
      column="`external_id`" type="string" length="255" not-null="false" unique="true"
    • setExternalId

      public void setExternalId(String externalId)
    • getServer

      public String getServer()
      Get the server name or ip that this jobagent is running on.
      Hibernate: property
      column="`server`" type="string" length="255"
    • setServer

      public void setServer(String server)
    • getPort

      public Integer getPort()
      The port the job agent is listening on. null if it doesn't listen.
      Hibernate: property
      column="`port`" type="int" not-null="false"
    • setPort

      public void setPort(Integer port)
    • getPlugins

      The plugins that can be executed by this job agent. This is the inverse end.
      See Also:
      Hibernate: map
      lazy="true" cascade="delete" inverse="true"
      Hibernate: index-many-to-many
      column="`plugindefinition_id`" class="net.sf.basedb.core.data.PluginDefinitionData"
      Hibernate: collection-key
      column="`jobagent_id`"
      Hibernate: collection-one-to-many
      class="net.sf.basedb.core.data.JobAgentSettingsData"
    • setPlugins

      void setPlugins(Map<PluginDefinitionData,JobAgentSettingsData> plugins)