Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   =================== DO NOT EDIT THIS FILE ====================
   Generated by Modello 1.4.1 on 2012-06-01 10:46:26,
   any modifications will be overwritten.
   ==============================================================
   */
  
  package org.sonatype.nexus.rest.model;

Scheduled service list item details.

Version:
$Revision$ $Date$
 
 @SuppressWarnings"all" )
 @javax.xml.bind.annotation.XmlType( name = "scheduled-service-list-resource" )
     implements java.io.Serializable
 {
 
       //--------------------------/
      //- Class/Member Variables -/
     //--------------------------/
 
    
The URL that can be used to manage the scheduled service.
 
     private String resourceURI;

    
The id of the scheduled service.
 
     private String id;

    
Flag that states if the service is enabled.
 
     private boolean enabled = false;

    
The name of the scheduled service.
 
     private String name;

    
The type id of the scheduled service.
 
     private String typeId;

    
The type name of the scheduled service.
 
     private String typeName;

    
The status of the scheduled service (running, broken, etc.).
 
     private String status;

    
The status of the scheduled service (running, broken, etc.).
 
     private String readableStatus;

    
The type of schedule the service is run on (monthly, daily, etc.).
 
     private String schedule;

    
The next time the scheduled service will run.
 
     private String nextRunTime;

    
The last time the scheduled service ran.
 
     private String lastRunTime;

    
The result of the last scheduled service run.
 
     private String lastRunResult;

    
The date the scheduled service was created.
 
     private String created;

    
The next time the scheduled service will run (in milliseconds).
 
     private Long nextRunTimeInMillis;

    
The last time the scheduled service ran (in milliseconds).
    private Long lastRunTimeInMillis;

    
The date the scheduled service was created (in milliseconds).
    private Long createdInMillis;
      //-----------/
     //- Methods -/
    //-----------/

    
Get the date the scheduled service was created.

Returns:
String
    public String getCreated()
    {
        return this.;
    } //-- String getCreated()

    
Get the date the scheduled service was created (in milliseconds).

Returns:
Long
    public Long getCreatedInMillis()
    {
        return this.;
    } //-- Long getCreatedInMillis()

    
Get the id of the scheduled service.

Returns:
String
    public String getId()
    {
        return this.;
    } //-- String getId()

    
Get the result of the last scheduled service run.

Returns:
String
    public String getLastRunResult()
    {
        return this.;
    } //-- String getLastRunResult()

    
Get the last time the scheduled service ran.

Returns:
String
    public String getLastRunTime()
    {
        return this.;
    } //-- String getLastRunTime()

    
Get the last time the scheduled service ran (in milliseconds).

Returns:
Long
    public Long getLastRunTimeInMillis()
    {
        return this.;
    } //-- Long getLastRunTimeInMillis()

    
Get the name of the scheduled service.

Returns:
String
    public String getName()
    {
        return this.;
    } //-- String getName()

    
Get the next time the scheduled service will run.

Returns:
String
    public String getNextRunTime()
    {
        return this.;
    } //-- String getNextRunTime()

    
Get the next time the scheduled service will run (in milliseconds).

Returns:
Long
    public Long getNextRunTimeInMillis()
    {
        return this.;
    } //-- Long getNextRunTimeInMillis()

    
Get the status of the scheduled service (running, broken, etc.).

Returns:
String
    public String getReadableStatus()
    {
        return this.;
    } //-- String getReadableStatus()

    
Get the URL that can be used to manage the scheduled service.

Returns:
String
    public String getResourceURI()
    {
        return this.;
    } //-- String getResourceURI()

    
Get the type of schedule the service is run on (monthly, daily, etc.).

Returns:
String
    public String getSchedule()
    {
        return this.;
    } //-- String getSchedule()

    
Get the status of the scheduled service (running, broken, etc.).

Returns:
String
    public String getStatus()
    {
        return this.;
    } //-- String getStatus()

    
Get the type id of the scheduled service.

Returns:
String
    public String getTypeId()
    {
        return this.;
    } //-- String getTypeId()

    
Get the type name of the scheduled service.

Returns:
String
    public String getTypeName()
    {
        return this.;
    } //-- String getTypeName()

    
Get flag that states if the service is enabled.

Returns:
boolean
    public boolean isEnabled()
    {
        return this.;
    } //-- boolean isEnabled()

    
Set the date the scheduled service was created.

Parameters:
created
    public void setCreatedString created )
    {
        this. = created;
    } //-- void setCreated( String )

    
Set the date the scheduled service was created (in milliseconds).

Parameters:
createdInMillis
    public void setCreatedInMillisLong createdInMillis )
    {
        this. = createdInMillis;
    } //-- void setCreatedInMillis( Long )

    
Set flag that states if the service is enabled.

Parameters:
enabled
    public void setEnabledboolean enabled )
    {
        this. = enabled;
    } //-- void setEnabled( boolean )

    
Set the id of the scheduled service.

Parameters:
id
    public void setIdString id )
    {
        this. = id;
    } //-- void setId( String )

    
Set the result of the last scheduled service run.

Parameters:
lastRunResult
    public void setLastRunResultString lastRunResult )
    {
        this. = lastRunResult;
    } //-- void setLastRunResult( String )

    
Set the last time the scheduled service ran.

Parameters:
lastRunTime
    public void setLastRunTimeString lastRunTime )
    {
        this. = lastRunTime;
    } //-- void setLastRunTime( String )

    
Set the last time the scheduled service ran (in milliseconds).

Parameters:
lastRunTimeInMillis
    public void setLastRunTimeInMillisLong lastRunTimeInMillis )
    {
        this. = lastRunTimeInMillis;
    } //-- void setLastRunTimeInMillis( Long )

    
Set the name of the scheduled service.

Parameters:
name
    public void setNameString name )
    {
        this. = name;
    } //-- void setName( String )

    
Set the next time the scheduled service will run.

Parameters:
nextRunTime
    public void setNextRunTimeString nextRunTime )
    {
        this. = nextRunTime;
    } //-- void setNextRunTime( String )

    
Set the next time the scheduled service will run (in milliseconds).

Parameters:
nextRunTimeInMillis
    public void setNextRunTimeInMillisLong nextRunTimeInMillis )
    {
        this. = nextRunTimeInMillis;
    } //-- void setNextRunTimeInMillis( Long )

    
Set the status of the scheduled service (running, broken, etc.).

Parameters:
readableStatus
    public void setReadableStatusString readableStatus )
    {
        this. = readableStatus;
    } //-- void setReadableStatus( String )

    
Set the URL that can be used to manage the scheduled service.

Parameters:
resourceURI
    public void setResourceURIString resourceURI )
    {
        this. = resourceURI;
    } //-- void setResourceURI( String )

    
Set the type of schedule the service is run on (monthly, daily, etc.).

Parameters:
schedule
    public void setScheduleString schedule )
    {
        this. = schedule;
    } //-- void setSchedule( String )

    
Set the status of the scheduled service (running, broken, etc.).

Parameters:
status
    public void setStatusString status )
    {
        this. = status;
    } //-- void setStatus( String )

    
Set the type id of the scheduled service.

Parameters:
typeId
    public void setTypeIdString typeId )
    {
        this. = typeId;
    } //-- void setTypeId( String )

    
Set the type name of the scheduled service.

Parameters:
typeName
    public void setTypeNameString typeName )
    {
        this. = typeName;
    } //-- void setTypeName( String )
New to GrepCode? Check out our FAQ X