Class JobExecutionTarget


  • public final class JobExecutionTarget
    extends Object
    The target that a job execution is executed on.
    • Constructor Detail

      • JobExecutionTarget

        public JobExecutionTarget()
    • Method Detail

      • type

        public JobTargetType type()
        Get the type property: The type of the target.
        Returns:
        the type value.
      • serverName

        public String serverName()
        Get the serverName property: The server name.
        Returns:
        the serverName value.
      • databaseName

        public String databaseName()
        Get the databaseName property: The database name.
        Returns:
        the databaseName value.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.