net.redhogs.cronparser
Class Options

java.lang.Object
  extended by net.redhogs.cronparser.Options

public class Options
extends Object

Since:
10 Dec 2012 10:58:44
Author:
grhodes

Constructor Summary
Options()
           
 
Method Summary
 CasingTypeEnum getCasingType()
           
 boolean isThrowExceptionOnParseError()
           
 boolean isVerbose()
           
 boolean isZeroBasedDayOfWeek()
          If we are zero-based day of week (0 - 7) (0 to 6 are Sunday to Saturday, or use names; 7 is Sunday, the same as 0) If we are not zero based day of week (1 - 7) (1 to 6 are Sunday to Saturday, or use names; 7 is Saturday)
 void setCasingType(CasingTypeEnum casingType)
           
 void setThrowExceptionOnParseError(boolean throwExceptionOnParseError)
           
 void setVerbose(boolean verbose)
           
 void setZeroBasedDayOfWeek(boolean zeroBasedDayOfWeek)
          If we are zero-based day of week (0 - 7) (0 to 6 are Sunday to Saturday, or use names; 7 is Sunday, the same as 0) If we are not zero based day of week (1 - 7) (1 to 6 are Sunday to Saturday, or use names; 7 is Saturday)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Options

public Options()
Method Detail

isThrowExceptionOnParseError

public boolean isThrowExceptionOnParseError()
Returns:
the throwExceptionOnParseError

setThrowExceptionOnParseError

public void setThrowExceptionOnParseError(boolean throwExceptionOnParseError)
Parameters:
throwExceptionOnParseError - the throwExceptionOnParseError to set

getCasingType

public CasingTypeEnum getCasingType()
Returns:
the casingType

setCasingType

public void setCasingType(CasingTypeEnum casingType)
Parameters:
casingType - the casingType to set

isVerbose

public boolean isVerbose()
Returns:
the verbose

setVerbose

public void setVerbose(boolean verbose)
Parameters:
verbose - the verbose to set

setZeroBasedDayOfWeek

public void setZeroBasedDayOfWeek(boolean zeroBasedDayOfWeek)
If we are zero-based If we are not zero based

Parameters:
zeroBasedDayOfWeek - if we are zero-based or not

isZeroBasedDayOfWeek

public boolean isZeroBasedDayOfWeek()
If we are zero-based If we are not zero based

Returns:
if we are zero-based or not


Copyright © 2014 RedHogs. All rights reserved.