org.oddjob
Interface Resetable

All Known Implementing Classes:
AndState, AntJob, ArchiveBrowserJob, ArchiveJob, BaseWrapper, CascadeJob, ChooseFile, ClientBase, ConfirmationJob, DependsJob, EqualsState, ExecJob, FlagState, ForEachJob, GrabJob, IfJob, InputJob, InvokeJob, JMXClientJob, JMXServiceJob, JoinJob, MegaBeanBus, MirrorState, MultiExplorerLauncher, Oddjob, OddjobExplorer, OddjobPanel, OrState, ParallelJob, PropertiesJob, PropertiesJobBase, RepeatJob, ResetJob, Resets, Retry, RMIRegistryJob, RunJob, RunnableWrapper, ScheduleBase, ScriptJob, SequentialJob, SerializableJob, ServicesJob, ServiceWrapper, SetJob, SimpleJob, SimpleService, SimultaneousStructural, StartJob, StateReflector, StopJob, StructuralJob, Timer, TimerBase, Trigger, VariablesJob, WaitJob

public interface Resetable

A class that implements this interface is able to respond to two types of reset message. A soft reset, which is typically used to reset a job after an exception, or a hard reset which is typically used to reset a job to begin again.

Author:
Rob Gordon

Method Summary
 boolean hardReset()
          Perform a hard reset.
 boolean softReset()
          Perform a soft reset.
 

Method Detail

softReset

boolean softReset()
Perform a soft reset.

Returns:
true if successful.

hardReset

boolean hardReset()
Perform a hard reset.

Returns:
true if successful.