com.nhncorp.neptune.common.aop
Class UnitTestDetail

java.lang.Object
  extended by com.nhncorp.neptune.common.aop.UnitTestDetail
All Implemented Interfaces:
NWritable

public class UnitTestDetail
extends java.lang.Object
implements NWritable


Constructor Summary
UnitTestDetail()
           
UnitTestDetail(java.lang.String lockContents)
           
 
Method Summary
 java.lang.String getMethodName()
           
 java.lang.String getTargetClass()
           
 DistributedUnitTestProcessor getTestProcessor()
           
 boolean isAlreadyRun()
           
 boolean isBefore()
           
 boolean isOnlyOneTarget()
           
 void readFields(java.io.DataInput in)
          Reads the fields of this object from in.
 void setAlreadyRun(boolean alreadyRun)
           
 void setBefore(boolean before)
           
 void setMethodName(java.lang.String methodName)
           
 void setOnlyOneTarget(boolean onlyOneTarget)
           
 void setTargetClass(java.lang.String targetClass)
           
 void setTestProcessor(DistributedUnitTestProcessor testProcessor)
           
 void setTestProcessorClassName(java.lang.String className)
           
 java.lang.String toString()
           
 void write(java.io.DataOutput out)
          Writes the fields of this object to out.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnitTestDetail

public UnitTestDetail()

UnitTestDetail

public UnitTestDetail(java.lang.String lockContents)
               throws java.io.IOException
Throws:
java.io.IOException
Method Detail

readFields

public void readFields(java.io.DataInput in)
                throws java.io.IOException
Description copied from interface: NWritable
Reads the fields of this object from in. For efficiency, implementations should attempt to re-use storage in the existing object where possible.

Specified by:
readFields in interface NWritable
Throws:
java.io.IOException

write

public void write(java.io.DataOutput out)
           throws java.io.IOException
Description copied from interface: NWritable
Writes the fields of this object to out.

Specified by:
write in interface NWritable
Throws:
java.io.IOException

setTestProcessorClassName

public void setTestProcessorClassName(java.lang.String className)
                               throws java.io.IOException
Throws:
java.io.IOException

isBefore

public boolean isBefore()

setBefore

public void setBefore(boolean before)

getMethodName

public java.lang.String getMethodName()

setMethodName

public void setMethodName(java.lang.String methodName)

getTestProcessor

public DistributedUnitTestProcessor getTestProcessor()

setTestProcessor

public void setTestProcessor(DistributedUnitTestProcessor testProcessor)

getTargetClass

public java.lang.String getTargetClass()

setTargetClass

public void setTargetClass(java.lang.String targetClass)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

isOnlyOneTarget

public boolean isOnlyOneTarget()

setOnlyOneTarget

public void setOnlyOneTarget(boolean onlyOneTarget)

isAlreadyRun

public boolean isAlreadyRun()

setAlreadyRun

public void setAlreadyRun(boolean alreadyRun)