
org.apache.maven.continuum.xmlrpc.project.ProjectScmRoot Maven / Gradle / Ivy
The newest version!
/*
=================== DO NOT EDIT THIS FILE ====================
Generated by Modello
any modifications will be overwritten.
==============================================================
*/
package org.apache.maven.continuum.xmlrpc.project;
//---------------------------------/
//- Imported classes and packages -/
//---------------------------------/
import org.apache.continuum.xmlrpc.release.ContinuumReleaseResult;
import org.apache.continuum.xmlrpc.repository.AbstractPurgeConfiguration;
import org.apache.continuum.xmlrpc.repository.DirectoryPurgeConfiguration;
import org.apache.continuum.xmlrpc.repository.LocalRepository;
import org.apache.continuum.xmlrpc.repository.RepositoryPurgeConfiguration;
import org.apache.continuum.xmlrpc.utils.BuildTrigger;
import org.apache.maven.continuum.xmlrpc.scm.ChangeFile;
import org.apache.maven.continuum.xmlrpc.scm.ChangeSet;
import org.apache.maven.continuum.xmlrpc.scm.ScmResult;
import org.apache.maven.continuum.xmlrpc.system.Installation;
import org.apache.maven.continuum.xmlrpc.system.Profile;
import org.apache.maven.continuum.xmlrpc.system.SystemConfiguration;
/**
* Class ProjectScmRoot.
*
* @version $Revision$ $Date$
*/
@SuppressWarnings( "all" )
public class ProjectScmRoot
implements java.io.Serializable
{
//--------------------------/
//- Class/Member Variables -/
//--------------------------/
/**
* Field id.
*/
private int id = 0;
/**
* Field scmRootAddress.
*/
private String scmRootAddress;
/**
* Field oldState.
*/
private int oldState = 0;
/**
* Field state.
*/
private int state = 0;
/**
* Field error.
*/
private String error;
//-----------/
//- Methods -/
//-----------/
/**
* Method equals.
*
* @param other
* @return boolean
*/
public boolean equals( Object other )
{
if ( this == other )
{
return true;
}
if ( !( other instanceof ProjectScmRoot ) )
{
return false;
}
ProjectScmRoot that = (ProjectScmRoot) other;
boolean result = true;
result = result && id == that.id;
return result;
} //-- boolean equals( Object )
/**
* Get the error field.
*
* @return String
*/
public String getError()
{
return this.error;
} //-- String getError()
/**
* Get the id field.
*
* @return int
*/
public int getId()
{
return this.id;
} //-- int getId()
/**
* Get the oldState field.
*
* @return int
*/
public int getOldState()
{
return this.oldState;
} //-- int getOldState()
/**
* Get the scmRootAddress field.
*
* @return String
*/
public String getScmRootAddress()
{
return this.scmRootAddress;
} //-- String getScmRootAddress()
/**
* Get the state field.
*
* @return int
*/
public int getState()
{
return this.state;
} //-- int getState()
/**
* Method hashCode.
*
* @return int
*/
public int hashCode()
{
int result = 17;
result = 37 * result + (int) id;
return result;
} //-- int hashCode()
/**
* Set the error field.
*
* @param error
*/
public void setError( String error )
{
this.error = error;
} //-- void setError( String )
/**
* Set the id field.
*
* @param id
*/
public void setId( int id )
{
this.id = id;
} //-- void setId( int )
/**
* Set the oldState field.
*
* @param oldState
*/
public void setOldState( int oldState )
{
this.oldState = oldState;
} //-- void setOldState( int )
/**
* Set the scmRootAddress field.
*
* @param scmRootAddress
*/
public void setScmRootAddress( String scmRootAddress )
{
this.scmRootAddress = scmRootAddress;
} //-- void setScmRootAddress( String )
/**
* Set the state field.
*
* @param state
*/
public void setState( int state )
{
this.state = state;
} //-- void setState( int )
/**
* Method toString.
*
* @return String
*/
public java.lang.String toString()
{
StringBuilder buf = new StringBuilder( 128 );
buf.append( "id = '" );
buf.append( getId() );
buf.append( "'" );
return buf.toString();
} //-- java.lang.String toString()
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy