Overview | Package | Class | Tree | Deprecated | Index | Help
| Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.bea.p13n.jobmanager.config
Class AbstractJobDefinition

    java.lang.Object
      com.bea.p13n.jobmanager.config.AbstractJobDefinition

All Implemented Interfaces
  JobDefinition

Direct Known Subclasses:
  CalendarJobDefinition, EventJobDefinition, IntervalJobDefinition, StartupJobDefinition, TimerJobDefinition

    public abstract class AbstractJobDefinition

extends Object
implements JobDefinition

Partial implementation of the `JobDefinition`.

Nested Class Summary

Nested classes/interfaces inherited from interface com.bea.p13n.jobmanager.JobDefinition
`JobDefinition.JOB_TYPE`

Constructor Summary
`AbstractJobDefinition(String name)`

Method Summary
`JobListenerBean` | `createJobListener(String name)`
`JobParamBean` | `createJobParam(String name)`
`void` | `destroyJobListener(JobListenerBean component)`
`void` | `destroyJobParam(JobParamBean component)`
`String` | `getDescription()` Description of job.
`boolean` | `getEnabled()` Is job enabled to run or not.
`String` | `getGroup()` Optional Group name for job.
`String` | `getJobClass()` Fully class name of job.
`JobListenerBean[]` | `getJobListeners()` Listeners to call after job completes
`JobParamBean[]` | `getJobParams()` Parameters to job.
`abstract JobDefinition.JOB_TYPE` | `getJobType()`
`String` | `getName()`
`String` | `getNode()` Where does this job run.
`boolean` | `isEnabled()`
`JobListenerBean` | `lookupJobListener(String name)`
`JobParamBean` | `lookupJobParam(String name)`
`void` | `setDescription(String description)`
`void` | `setEnabled(boolean enabled)`
`void` | `setGroup(String group)`
`void` | `setJobClass(String jobClass)`
`void` | `setJobParamBeans(JobParamBean[] params)`
`void` | `setListenerBeans(JobListenerBean[] listeners)`
`void` | `setName(String name)`
`void` | `setNode(String node)`
`String` | `toString()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### AbstractJobDefinition

    public AbstractJobDefinition(String name)

Method Detail

### toString

    public String toString()

  Overrides:
    `toString` in class `Object`

### getJobType

    public abstract JobDefinition.JOB_TYPE getJobType()

### getName

    public String getName()

  Specified by:
    `getName` in interface `JobDefinition`

### setName

    public void setName(String name)

  Specified by:
    `setName` in interface `JobDefinition`

### getDescription

    public String getDescription()

  Description copied from interface: `JobDefinition`
  Description of job. (For Humans)

  Specified by:
    `getDescription` in interface `JobDefinition`

### setDescription

    public void setDescription(String description)

  Specified by:
    `setDescription` in interface `JobDefinition`

### getGroup

    public String getGroup()

  Description copied from interface: `JobDefinition`
  Optional Group name for job.

  Specified by:
    `getGroup` in interface `JobDefinition`

### setGroup

    public void setGroup(String group)

  Specified by:
    `setGroup` in interface `JobDefinition`

### getEnabled

    public boolean getEnabled()

  Description copied from interface: `JobDefinition`
  Is job enabled to run or not.

  Specified by:
    `getEnabled` in interface `JobDefinition`

### isEnabled

    public boolean isEnabled()

### setEnabled

    public void setEnabled(boolean enabled)

  Specified by:
    `setEnabled` in interface `JobDefinition`

### getJobClass

    public String getJobClass()

  Description copied from interface: `JobDefinition`
  Fully class name of job.

  Specified by:
    `getJobClass` in interface `JobDefinition`

### setJobClass

    public void setJobClass(String jobClass)

  Specified by:
    `setJobClass` in interface `JobDefinition`

### getNode

    public String getNode()

  Description copied from interface: `JobDefinition`
  Where does this job run. Values are: * - All nodes. No cross cluster syncronization - Specific Server Name in cluster - One node in cluster.

  Specified by:
    `getNode` in interface `JobDefinition`

### setNode

    public void setNode(String node)

  Specified by:
    `setNode` in interface `JobDefinition`

### setJobParamBeans

    public void setJobParamBeans(JobParamBean[] params)

### getJobParams

    public JobParamBean[] getJobParams()

  Description copied from interface: `JobDefinition`
  Parameters to job. This allow for same job class to be used diffrent ways.

  Specified by:
    `getJobParams` in interface `JobDefinition`

### lookupJobParam

    public JobParamBean lookupJobParam(String name)

  Specified by:
    `lookupJobParam` in interface `JobDefinition`

### destroyJobParam

    public void destroyJobParam(JobParamBean component)

  Specified by:
    `destroyJobParam` in interface `JobDefinition`

### createJobParam

    public JobParamBean createJobParam(String name)

  Specified by:
    `createJobParam` in interface `JobDefinition`

### setListenerBeans

    public void setListenerBeans(JobListenerBean[] listeners)

### getJobListeners

    public JobListenerBean[] getJobListeners()

  Description copied from interface: `JobDefinition`
  Listeners to call after job completes

  Specified by:
    `getJobListeners` in interface `JobDefinition`

### lookupJobListener

    public JobListenerBean lookupJobListener(String name)

  Specified by:
    `lookupJobListener` in interface `JobDefinition`

### destroyJobListener

    public void destroyJobListener(JobListenerBean component)

  Specified by:
    `destroyJobListener` in interface `JobDefinition`

### createJobListener

    public JobListenerBean createJobListener(String name)

  Specified by:
    `createJobListener` in interface `JobDefinition`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.