|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jenkinsci.plugins.periodicreincarnation.PeriodicReincarnationGlobalConfiguration.RegEx
public static class PeriodicReincarnationGlobalConfiguration.RegEx
Class for handling regular expressions.
| Constructor Summary | |
|---|---|
PeriodicReincarnationGlobalConfiguration.RegEx(String value,
String description,
String cronTime,
String nodeAction,
String masterAction)
Constructor. |
|
| Method Summary | |
|---|---|
String |
getCronTime()
Returns the cron time for this particular regex. |
String |
getDescription()
Returns a description for this regex. |
String |
getMasterAction()
Returns the master script. |
String |
getNodeAction()
Returns the node script. |
Pattern |
getPattern()
Returns the pattern correspondin to this reg ex. |
String |
getValue()
Returns this reg ex. |
boolean |
isTimeToRestart(long currentTime)
Checks if the current time corresponds to the cron tab configured for this RegEx. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@DataBoundConstructor
public PeriodicReincarnationGlobalConfiguration.RegEx(String value,
String description,
String cronTime,
String nodeAction,
String masterAction)
value - the reg ex.description - regex descriptioncronTime - cron time format.nodeAction - node script.masterAction - master script| Method Detail |
|---|
public String getValue()
public String getDescription()
public String getCronTime()
public Pattern getPattern()
throws hudson.AbortException
hudson.AbortException - if the pattern could not be compiled.public String getNodeAction()
public String getMasterAction()
public boolean isTimeToRestart(long currentTime)
currentTime - current time from System
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||