hudson.plugins.crap4j.model
Class MethodCrapBean

java.lang.Object
  extended by hudson.plugins.crap4j.model.MethodCrapBean
All Implemented Interfaces:
IMethodCrap, java.io.Serializable

public class MethodCrapBean
extends java.lang.Object
implements java.io.Serializable, IMethodCrap

A serializable bean containing the crap data about one specific method.

Author:
dali
See Also:
Serialized Form

Constructor Summary
MethodCrapBean(IMethodCrapData crapData)
           
 
Method Summary
 java.lang.String getClassName()
           
 double getComplexity()
           
 double getCoveragePercent()
           
 double getCrap()
           
 int getCrapLoad()
           
 java.lang.String getFullMethod()
           
 java.lang.String getMethodName()
           
 java.lang.String getMethodSignature()
           
 java.lang.String getPackageName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodCrapBean

public MethodCrapBean(IMethodCrapData crapData)
Method Detail

getPackageName

public java.lang.String getPackageName()
Specified by:
getPackageName in interface IMethodCrap

getClassName

public java.lang.String getClassName()
Specified by:
getClassName in interface IMethodCrap

getMethodName

public java.lang.String getMethodName()
Specified by:
getMethodName in interface IMethodCrap

getMethodSignature

public java.lang.String getMethodSignature()
Specified by:
getMethodSignature in interface IMethodCrap

getFullMethod

public java.lang.String getFullMethod()
Specified by:
getFullMethod in interface IMethodCrap

getCrap

public double getCrap()
Specified by:
getCrap in interface IMethodCrap

getComplexity

public double getComplexity()
Specified by:
getComplexity in interface IMethodCrap

getCoveragePercent

public double getCoveragePercent()
Specified by:
getCoveragePercent in interface IMethodCrap

getCrapLoad

public int getCrapLoad()
Specified by:
getCrapLoad in interface IMethodCrap


Copyright © 2008. All Rights Reserved.