org.codehaus.mojo.scmchangelog.scm.hg
Class HgTargetEnum

java.lang.Object
  extended by org.codehaus.mojo.scmchangelog.scm.hg.HgTargetEnum
All Implemented Interfaces:
ScmTarget

public class HgTargetEnum
extends Object
implements ScmTarget

Defines the different targets of a classsic subversion repository.

Version:
$Id: HgTargetEnum.java 7652 2008-09-11 07:58:40Z ehsavoie $
Author:
ehsavoie

Field Summary
static HgTargetEnum BRANCH
          The BRANCH branch of the SCM.
static HgTargetEnum TAG
          The TAG branch of the SCM.
static HgTargetEnum TRUNK
          The TRUNK/HEAD tag for the SCM.
 
Method Summary
 boolean equals(Object object)
          Equality with another object.
 int hashCode()
          Compute the hashcode.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TRUNK

public static final HgTargetEnum TRUNK
The TRUNK/HEAD tag for the SCM.


TAG

public static final HgTargetEnum TAG
The TAG branch of the SCM.


BRANCH

public static final HgTargetEnum BRANCH
The BRANCH branch of the SCM.

Method Detail

hashCode

public int hashCode()
Compute the hashcode.

Overrides:
hashCode in class Object
Returns:
the hashcode.

equals

public boolean equals(Object object)
Equality with another object.

Overrides:
equals in class Object
Parameters:
object - the object to be checked for equality against.
Returns:
true if object equals this - false otherwise.


Copyright © 2008-2009 Codehaus. All Rights Reserved.