org.kuali.common.util.execute
Class RunOnceExecutable

java.lang.Object
  extended by org.kuali.common.util.execute.RunOnceExecutable
All Implemented Interfaces:
Executable

public class RunOnceExecutable
extends Object
implements Executable


Constructor Summary
RunOnceExecutable()
           
 
Method Summary
 void execute()
           
 String getEncoding()
           
 Executable getExecutable()
           
protected  ExecutionMode getExecutionMode(Properties properties, String key)
           
 File getPropertiesFile()
           
 String getProperty()
           
protected  boolean isAlways(ExecutionMode mode)
           
protected  boolean isRunOnce(ExecutionMode mode)
           
 void setEncoding(String encoding)
           
 void setExecutable(Executable executable)
           
 void setPropertiesFile(File propertiesFile)
           
 void setProperty(String property)
           
protected  void setState(Properties properties, String key, ExecutionMode mode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RunOnceExecutable

public RunOnceExecutable()
Method Detail

execute

public void execute()
Specified by:
execute in interface Executable

isAlways

protected boolean isAlways(ExecutionMode mode)

isRunOnce

protected boolean isRunOnce(ExecutionMode mode)

getExecutionMode

protected ExecutionMode getExecutionMode(Properties properties,
                                         String key)

setState

protected void setState(Properties properties,
                        String key,
                        ExecutionMode mode)

getExecutable

public Executable getExecutable()

setExecutable

public void setExecutable(Executable executable)

getPropertiesFile

public File getPropertiesFile()

setPropertiesFile

public void setPropertiesFile(File propertiesFile)

getProperty

public String getProperty()

setProperty

public void setProperty(String property)

getEncoding

public String getEncoding()

setEncoding

public void setEncoding(String encoding)


Copyright © 2010-2013 The Kuali Foundation. All Rights Reserved.