com.tivoli.twg.engine
Interface TWGRemoteJobListener

All Known Implementing Classes:
TWGRemoteJobManager

public interface TWGRemoteJobListener

This interface must be implemented by the class that handles dynamic updates to the Scheduler GUI. It provides the entry point for asynchronous update notifications received from the server.


Method Summary
 void jobActivationClientUpdated(TWGRemoteJobActivation act, long moid, int status)
          Notify console that client was updated in a job activation.
 void jobActivationCreated(TWGRemoteJobActivation act)
          Notify console that a job activation was created.
 void jobActivationDeleted(TWGRemoteJobActivation act)
          Notify console that a job activation was deleted.
 void jobActivationUpdated(TWGRemoteJobActivation act, int status)
          Notify console that a job activation was updated.
 void jobAttachedToTrigger(long joid, long troid)
          Notify console that a job was attached to a trigger.
 void jobCreated(com.tivoli.twg.engine.TWGRemoteJob job)
          Notify console that a job was created.
 void jobDeleted(long joid)
          Notify console that a job was deleted.
 void jobDetachedFromTrigger(long joid, long troid)
          Notify console that a job was detached from a trigger.
 void jobEnabled(com.tivoli.twg.engine.TWGRemoteJob job, boolean flag)
          Notify console that a job's enabled state was changed.
 void jobRenamed(com.tivoli.twg.engine.TWGRemoteJob job, java.lang.String label)
          Notify console that a job was renamed.
 void triggerCreated(com.tivoli.twg.engine.TWGRemoteTrigger trigger)
          Notify console that a new trigger was created.
 void triggerDeleted(long troid)
          Notify console that a trigger was deleted.
 void triggerUpdated(com.tivoli.twg.engine.TWGRemoteTrigger trigger)
          Notify console that a trigger was updated.
 

Method Detail

triggerCreated

public void triggerCreated(com.tivoli.twg.engine.TWGRemoteTrigger trigger)
Notify console that a new trigger was created.

Parameters:
trigger - a new TWGRemoteTrigger

triggerUpdated

public void triggerUpdated(com.tivoli.twg.engine.TWGRemoteTrigger trigger)
Notify console that a trigger was updated.

Parameters:
trigger - the TWGRemoteTrigger that was updated

triggerDeleted

public void triggerDeleted(long troid)
Notify console that a trigger was deleted.

Parameters:
troid - the id of the trigger that was deleted.

jobCreated

public void jobCreated(com.tivoli.twg.engine.TWGRemoteJob job)
Notify console that a job was created.

Parameters:
job - a new TWGJob

jobDeleted

public void jobDeleted(long joid)
Notify console that a job was deleted.

Parameters:
joid - the id of the job that was deleted.

jobRenamed

public void jobRenamed(com.tivoli.twg.engine.TWGRemoteJob job,
                       java.lang.String label)
Notify console that a job was renamed.

Parameters:
job - the job that was renamed
label - new label for the job

jobEnabled

public void jobEnabled(com.tivoli.twg.engine.TWGRemoteJob job,
                       boolean flag)
Notify console that a job's enabled state was changed.

Parameters:
job - the job that was enabled or disabled
flag - true for enabled, false for disabled

jobAttachedToTrigger

public void jobAttachedToTrigger(long joid,
                                 long troid)
Notify console that a job was attached to a trigger.

Parameters:
joid - the ID of the job that was attached
troid - the ID of the trigger it was attached to

jobDetachedFromTrigger

public void jobDetachedFromTrigger(long joid,
                                   long troid)
Notify console that a job was detached from a trigger.

Parameters:
joid - the ID of the job that was detached
troid - the ID of the trigger it was detached from

jobActivationCreated

public void jobActivationCreated(TWGRemoteJobActivation act)
Notify console that a job activation was created.

Parameters:
act - the job activation that was created

jobActivationUpdated

public void jobActivationUpdated(TWGRemoteJobActivation act,
                                 int status)
Notify console that a job activation was updated.

Parameters:
act - the activation that was updated
status - the new status of the job activation

jobActivationClientUpdated

public void jobActivationClientUpdated(TWGRemoteJobActivation act,
                                       long moid,
                                       int status)
Notify console that client was updated in a job activation.

Parameters:
act - the activation with the client that was updated
moid - the managed object ID of the updated client
status - the new status of the client

jobActivationDeleted

public void jobActivationDeleted(TWGRemoteJobActivation act)
Notify console that a job activation was deleted.

Parameters:
act - the job activation being deleted