Package org.oddjob

Interface Resettable

All Known Implementing Classes:
AndState, AntJob, ArchiveBrowserJob, ArchiveJob, BaseWrapper, BasicBusService, BuildOddball, BusCollect, CascadeJob, CascadeJobDeprecated, ChooseFile, ClientBase, ConfirmationJob, ConsumerWrapper, DependsJob, EqualsState, EventJobBase, EventServiceBase, EventWatchComponent, ExecBase, ExecJob, FlagState, ForEachJob, ForEvents, GrabJob, IfJob, InputJob, InvokeJob, JavaJob, JMXClientJob, JMXServiceJob, JobWrapper, JoinJob, ListSource, MirrorState, MultiExplorerLauncher, Oddjob, OddjobExplorer, OddjobPanel, OrState, ParallelJob, PropertiesJob, PropertiesJobBase, RepeatJob, ResetJob, Resets, Retry, RMIRegistryJob, RunJob, ScheduleBase, ScriptJob, SequentialJob, SerializableJob, ServicesJob, ServiceWrapper, SetJob, SimpleJob, SimpleService, SimultaneousStructural, SplitDestinations, SshSequenceJob, StartJob, StateExpressionJob, StateReflector, StopJob, StreamWatcher, StructuralJob, SwitchJob, TaskExecutionService, TaskRequest, Timer, TimerBase, Trigger, Trigger, VariablesJob, WaitJob, WebClientJob, When

public interface Resettable
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

    Modifier and Type
    Method
    Description
    boolean
    Perform a hard reset.
    boolean
    Perform a soft reset.
  • Method Details

    • softReset

      boolean softReset()
      Perform a soft reset.
      Returns:
      true if successful.
    • hardReset

      boolean hardReset()
      Perform a hard reset.
      Returns:
      true if successful.