Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   =================== DO NOT EDIT THIS FILE ====================
   Generated by Modello 1.4.1 on 2011-04-25 14:05:00,
   any modifications will be overwritten.
   ==============================================================
   */
  
  package org.sonatype.nexus.rest.model;

Nexus status details.

Version:
$Revision$ $Date$
 
 @SuppressWarnings"all" )
 @javax.xml.bind.annotation.XmlType( name = "status-resource" )
 public class StatusResource
     implements java.io.Serializable
 {
 
       //--------------------------/
      //- Class/Member Variables -/
     //--------------------------/
 
    
The application name.
 
     private String appName;

    
The formatted application name (html formatting).
 
     private String formattedAppName;

    
The version of the nexus instance.
 
     private String version;

    
The version of the core nexus instance.
 
     private String apiVersion;

    
The long version of the nexus edition (i.e. Open Source or Professional).
 
     private String editionLong;

    
The short version of the nexus edition (i.e. OSS or PRO).
 
     private String editionShort;

    
The state of the nexus instance.
 
     private String state;

    
The operation mode of the nexus instance.
 
     private String operationMode;

    
The date the instance was first initialized.
 
     private java.util.Date initializedAt;

    
The date the instance was last started.
 
     private java.util.Date startedAt;

    
The last time the nexus configuration was updated.
 
     private java.util.Date lastConfigChange;

    
Flag that states if this is the first time nexus was started.
 
     private boolean firstStart = false;

    
Flag that states if the nexus instance has been upgraded.
 
     private boolean instanceUpgraded = false;

    
Flag that states if the nexus configuration has been upgraded
 
     private boolean configurationUpgraded = false;

    
Configuration validation status.
 
Errors occuring during nexus startup.
    private String errorCause;

    
Permissions that are available to the current user.
The base url of the nexus instance.
    private String baseUrl;
      //-----------/
     //- Methods -/
    //-----------/

    
Get the version of the core nexus instance.

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

    
Get the application name.

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

    
Get the base url of the nexus instance.

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

    
Get permissions that are available to the current user.

Returns:
NexusAuthenticationClientPermissions
    {
        return this.;
    } //-- NexusAuthenticationClientPermissions getClientPermissions()

    
Get configuration validation status.

Returns:
StatusConfigurationValidationResponse
    {
        return this.;
    } //-- StatusConfigurationValidationResponse getConfigurationValidationResponse()

    
Get the long version of the nexus edition (i.e. Open Source or Professional).

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

    
Get the short version of the nexus edition (i.e. OSS or PRO).

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

    
Get errors occuring during nexus startup.

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

    
Get the formatted application name (html formatting).

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

    
Get the date the instance was first initialized.

Returns:
Date
    public java.util.Date getInitializedAt()
    {
        return this.;
    } //-- java.util.Date getInitializedAt()

    
Get the last time the nexus configuration was updated.

Returns:
Date
    {
        return this.;
    } //-- java.util.Date getLastConfigChange()

    
Get the operation mode of the nexus instance.

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

    
Get the date the instance was last started.

Returns:
Date
    public java.util.Date getStartedAt()
    {
        return this.;
    } //-- java.util.Date getStartedAt()

    
Get the state of the nexus instance.

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

    
Get the version of the nexus instance.

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

    
Get flag that states if the nexus configuration has been upgraded.

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

    
Get flag that states if this is the first time nexus was started.

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

    
Get flag that states if the nexus instance has been upgraded.

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

    
Set the version of the core nexus instance.

Parameters:
apiVersion
    public void setApiVersionString apiVersion )
    {
        this. = apiVersion;
    } //-- void setApiVersion( String )

    
Set the application name.

Parameters:
appName
    public void setAppNameString appName )
    {
        this. = appName;
    } //-- void setAppName( String )

    
Set the base url of the nexus instance.

Parameters:
baseUrl
    public void setBaseUrlString baseUrl )
    {
        this. = baseUrl;
    } //-- void setBaseUrl( String )

    
Set permissions that are available to the current user.

Parameters:
clientPermissions
    public void setClientPermissionsNexusAuthenticationClientPermissions clientPermissions )
    {
        this. = clientPermissions;
    } //-- void setClientPermissions( NexusAuthenticationClientPermissions )

    
Set flag that states if the nexus configuration has been upgraded.

Parameters:
configurationUpgraded
    public void setConfigurationUpgradedboolean configurationUpgraded )
    {
        this. = configurationUpgraded;
    } //-- void setConfigurationUpgraded( boolean )

    
Set configuration validation status.

Parameters:
configurationValidationResponse
    public void setConfigurationValidationResponseStatusConfigurationValidationResponse configurationValidationResponse )
    {
        this. = configurationValidationResponse;
    } //-- void setConfigurationValidationResponse( StatusConfigurationValidationResponse )

    
Set the long version of the nexus edition (i.e. Open Source or Professional).

Parameters:
editionLong
    public void setEditionLongString editionLong )
    {
        this. = editionLong;
    } //-- void setEditionLong( String )

    
Set the short version of the nexus edition (i.e. OSS or PRO).

Parameters:
editionShort
    public void setEditionShortString editionShort )
    {
        this. = editionShort;
    } //-- void setEditionShort( String )

    
Set errors occuring during nexus startup.

Parameters:
errorCause
    public void setErrorCauseString errorCause )
    {
        this. = errorCause;
    } //-- void setErrorCause( String )

    
Set flag that states if this is the first time nexus was started.

Parameters:
firstStart
    public void setFirstStartboolean firstStart )
    {
        this. = firstStart;
    } //-- void setFirstStart( boolean )

    
Set the formatted application name (html formatting).

Parameters:
formattedAppName
    public void setFormattedAppNameString formattedAppName )
    {
        this. = formattedAppName;
    } //-- void setFormattedAppName( String )

    
Set the date the instance was first initialized.

Parameters:
initializedAt
    public void setInitializedAtjava.util.Date initializedAt )
    {
        this. = initializedAt;
    } //-- void setInitializedAt( java.util.Date )

    
Set flag that states if the nexus instance has been upgraded.

Parameters:
instanceUpgraded
    public void setInstanceUpgradedboolean instanceUpgraded )
    {
        this. = instanceUpgraded;
    } //-- void setInstanceUpgraded( boolean )

    
Set the last time the nexus configuration was updated.

Parameters:
lastConfigChange
    public void setLastConfigChangejava.util.Date lastConfigChange )
    {
        this. = lastConfigChange;
    } //-- void setLastConfigChange( java.util.Date )

    
Set the operation mode of the nexus instance.

Parameters:
operationMode
    public void setOperationModeString operationMode )
    {
        this. = operationMode;
    } //-- void setOperationMode( String )

    
Set the date the instance was last started.

Parameters:
startedAt
    public void setStartedAtjava.util.Date startedAt )
    {
        this. = startedAt;
    } //-- void setStartedAt( java.util.Date )

    
Set the state of the nexus instance.

Parameters:
state
    public void setStateString state )
    {
        this. = state;
    } //-- void setState( String )

    
Set the version of the nexus instance.

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