org.apache.maven.continuum.xmlrpc.project
Class Schedule

java.lang.Object
  extended by org.apache.maven.continuum.xmlrpc.project.Schedule
All Implemented Interfaces:
Serializable

public class Schedule
extends Object
implements Serializable

Schedule for a project.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
Schedule()
           
 
Method Summary
 boolean equals(Object other)
          Method equals.
 String getCronExpression()
          Get the cronExpression field.
 int getDelay()
          Get delay in seconds.
 String getDescription()
          Get the description field.
 int getId()
          Get the id field.
 int getMaxJobExecutionTime()
          Get maximum execution time of a job in seconds before it's terminated.
 String getName()
          Get the name field.
 int hashCode()
          Method hashCode.
 boolean isActive()
          Get the active field.
 void setActive(boolean active)
          Set the active field.
 void setCronExpression(String cronExpression)
          Set the cronExpression field.
 void setDelay(int delay)
          Set delay in seconds.
 void setDescription(String description)
          Set the description field.
 void setId(int id)
          Set the id field.
 void setMaxJobExecutionTime(int maxJobExecutionTime)
          Set maximum execution time of a job in seconds before it's terminated.
 void setName(String name)
          Set the name field.
 String toString()
          Method toString.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Schedule

public Schedule()
Method Detail

equals

public boolean equals(Object other)
Method equals.

Overrides:
equals in class Object
Parameters:
other -
Returns:
boolean

getCronExpression

public String getCronExpression()
Get the cronExpression field.

Returns:
String

getDelay

public int getDelay()
Get delay in seconds.

Returns:
int

getDescription

public String getDescription()
Get the description field.

Returns:
String

getId

public int getId()
Get the id field.

Returns:
int

getMaxJobExecutionTime

public int getMaxJobExecutionTime()
Get maximum execution time of a job in seconds before it's terminated.

Returns:
int

getName

public String getName()
Get the name field.

Returns:
String

hashCode

public int hashCode()
Method hashCode.

Overrides:
hashCode in class Object
Returns:
int

isActive

public boolean isActive()
Get the active field.

Returns:
boolean

setActive

public void setActive(boolean active)
Set the active field.

Parameters:
active -

setCronExpression

public void setCronExpression(String cronExpression)
Set the cronExpression field.

Parameters:
cronExpression -

setDelay

public void setDelay(int delay)
Set delay in seconds.

Parameters:
delay -

setDescription

public void setDescription(String description)
Set the description field.

Parameters:
description -

setId

public void setId(int id)
Set the id field.

Parameters:
id -

setMaxJobExecutionTime

public void setMaxJobExecutionTime(int maxJobExecutionTime)
Set maximum execution time of a job in seconds before it's terminated.

Parameters:
maxJobExecutionTime -

setName

public void setName(String name)
Set the name field.

Parameters:
name -

toString

public String toString()
Method toString.

Overrides:
toString in class Object
Returns:
String


Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.