com.offbytwo.jenkins.model.PluginManager Maven / Gradle / Ivy
package com.offbytwo.jenkins.model;
import java.util.List;
/**
* @author Karl Heinz Marbaise
*/
public class PluginManager extends BaseModel
{
List plugins;
public List getPlugins()
{
return plugins;
}
@Override
public int hashCode()
{
final int prime = 31;
int result = 1;
result = prime * result + ( ( plugins == null ) ? 0 : plugins.hashCode() );
return result;
}
@Override
public boolean equals( Object obj )
{
if ( this == obj )
return true;
if ( obj == null )
return false;
if ( getClass() != obj.getClass() )
return false;
PluginManager other = (PluginManager) obj;
if ( plugins == null )
{
if ( other.plugins != null )
return false;
}
else if ( !plugins.equals( other.plugins ) )
return false;
return true;
}
}