org.cip4.elk.impl.device.process.state
Class DeviceStateFactory

java.lang.Object
  extended by org.cip4.elk.impl.device.process.state.DeviceStateFactory

public class DeviceStateFactory
extends java.lang.Object


Method Summary
 DeviceState getFirstJobPhase()
          Returns the first JobPhase a job enters when processed by the Device.
 DeviceState getIdleDeviceState()
           
static DeviceStateFactory getInstance()
           
 DeviceState getStoppedDeviceState(DeviceState nextState)
          Returns a DeviceState that represents a Device that has been stopped/paused.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static DeviceStateFactory getInstance()

getIdleDeviceState

public DeviceState getIdleDeviceState()

getFirstJobPhase

public DeviceState getFirstJobPhase()
Returns the first JobPhase a job enters when processed by the Device.

Returns:

getStoppedDeviceState

public DeviceState getStoppedDeviceState(DeviceState nextState)
Returns a DeviceState that represents a Device that has been stopped/paused. If the returned stopped state is later stopped, then the Device will resume the state it had prior to the stopped state.

Parameters:
nextState -
Returns:


Copyright © 2004-2009 CIP4. All Rights Reserved.