Groovy Documentation

com.ace.mws.jobarrays
[Groovy] Class JobArrayIndexRange

java.lang.Object
  com.ace.mws.jobarrays.JobArrayIndexRange

class JobArrayIndexRange

Represents information about a job index expression. This is used when creating job arrays only.

Authors:
bsaville


Field Summary
private Long endIndex

The end of the index range. i.e.

private Long increment

The increment of the index range, defaults to 1 and must be greater than 0.

private Long startIndex

The start of the index range. i.e.

 
Constructor Summary
JobArrayIndexRange()

 
Method Summary
Long getEndIndex()

The end of the index range. i.e.

Long getIncrement()

The increment of the index range, defaults to 1 and must be greater than 0.

Long getStartIndex()

The start of the index range. i.e.

void setEndIndex(Long endIndex)

The end of the index range. i.e.

void setIncrement(Long increment)

The increment of the index range, defaults to 1 and must be greater than 0.

void setStartIndex(Long startIndex)

The start of the index range. i.e.

String toString()

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

endIndex

private Long endIndex
The end of the index range. i.e. 10 for 1-10.


increment

private Long increment
The increment of the index range, defaults to 1 and must be greater than 0. For a range of 1-10 with an increment of 2, the list of indices will be [1, 3, 5, 7, 9].


startIndex

private Long startIndex
The start of the index range. i.e. 1 for 1-10.


 
Constructor Detail

JobArrayIndexRange

JobArrayIndexRange()


 
Method Detail

getEndIndex

Long getEndIndex()
The end of the index range. i.e. 10 for 1-10.


getIncrement

Long getIncrement()
The increment of the index range, defaults to 1 and must be greater than 0. For a range of 1-10 with an increment of 2, the list of indices will be [1, 3, 5, 7, 9].


getStartIndex

Long getStartIndex()
The start of the index range. i.e. 1 for 1-10.


setEndIndex

void setEndIndex(Long endIndex)
The end of the index range. i.e. 10 for 1-10.


setIncrement

void setIncrement(Long increment)
The increment of the index range, defaults to 1 and must be greater than 0. For a range of 1-10 with an increment of 2, the list of indices will be [1, 3, 5, 7, 9].


setStartIndex

void setStartIndex(Long startIndex)
The start of the index range. i.e. 1 for 1-10.


toString

String toString()


 

Groovy Documentation