org.jvnet.hudson.reactor
Class MilestoneImpl

java.lang.Object
  extended by org.jvnet.hudson.reactor.MilestoneImpl
All Implemented Interfaces:
Milestone

public class MilestoneImpl
extends Object
implements Milestone

Default Milestone implementation.

Author:
Kohsuke Kawaguchi

Constructor Summary
MilestoneImpl()
          Only compare equal with this MilestoneImpl and nothing else.
MilestoneImpl(String id)
          Compares equal with other MilestoneImpls with the same ID.
 
Method Summary
 boolean equals(Object obj)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MilestoneImpl

public MilestoneImpl(String id)
Compares equal with other MilestoneImpls with the same ID.


MilestoneImpl

public MilestoneImpl()
Only compare equal with this MilestoneImpl and nothing else.

Method Detail

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2004-2011. All Rights Reserved.