org.apache.oozie.command
Class StatusUpdateXCommand

java.lang.Object
  extended by org.apache.oozie.command.XCommand<Void>
      extended by org.apache.oozie.command.StatusUpdateXCommand
All Implemented Interfaces:
Callable<Void>, XCallable<Void>
Direct Known Subclasses:
BundleStatusUpdateXCommand

public abstract class StatusUpdateXCommand
extends XCommand<Void>

Transition command for update status.


Field Summary
 
Fields inherited from class org.apache.oozie.command.XCommand
DEFAULT_LOCK_TIMEOUT, DEFAULT_REQUEUE_DELAY, dryrun, eventService, instrumentation, INSTRUMENTATION_GROUP, LOG, logInfo
 
Constructor Summary
StatusUpdateXCommand(String name, String type, int priority)
          The constructor for abstract class StatusUpdateXCommand
StatusUpdateXCommand(String name, String type, int priority, boolean dryrun)
          The constructor for abstract class StatusUpdateXCommand
 
Method Summary
 
Methods inherited from class org.apache.oozie.command.XCommand
call, eagerLoadState, eagerVerifyPrecondition, execute, executeInterrupts, getCreatedTime, getEntityKey, getInstrumentation, getKey, getLockTimeOut, getLog, getName, getPriority, getRequeueDelay, getType, inInterruptMode, isLockRequired, isReQueueRequired, loadState, queue, queue, resetUsed, setInterruptMode, verifyPrecondition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatusUpdateXCommand

public StatusUpdateXCommand(String name,
                            String type,
                            int priority)
The constructor for abstract class StatusUpdateXCommand

Parameters:
name - the command name
type - the command type
priority - the command priority

StatusUpdateXCommand

public StatusUpdateXCommand(String name,
                            String type,
                            int priority,
                            boolean dryrun)
The constructor for abstract class StatusUpdateXCommand

Parameters:
name - the command name
type - the command type
priority - the command priority
dryrun - true if dryrun is enable


Copyright © 2013 Apache Software Foundation. All Rights Reserved.