com.atlassian.bamboo.plan
Class AbstractPlanParticle
java.lang.Object
com.atlassian.bamboo.plan.AbstractPlanParticle
- All Implemented Interfaces:
- PlanParticle, Comparable<PlanParticle>
- Direct Known Subclasses:
- DefaultPlanParticle, Maven2ArtifactProperties
public abstract class AbstractPlanParticle
- extends Object
- implements PlanParticle, Comparable<PlanParticle>
AbstractPlanParticle
protected AbstractPlanParticle(String namespace,
String key)
getKey
@NotNull
public String getKey()
- Description copied from interface:
PlanParticle
- Return PlanParticle key.
PlanParticle's key shall distinguish it from other particles in the same namespace.
An example could be concatenation of maven's groupId:artifactId:version
- Specified by:
getKey
in interface PlanParticle
- Returns:
- PlanParticle's namespace name
getNamespace
@NotNull
public String getNamespace()
- Description copied from interface:
PlanParticle
- Return PlanParticle namespace.
Namespace is a string that shall distinguish particles of given type from other particle types.
An example could be "com.atlassian.bamboo.plugins.maven2"
- Specified by:
getNamespace
in interface PlanParticle
- Returns:
- PlanParticle's namespace name
hashCode
public final int hashCode()
- Overrides:
hashCode
in class Object
equals
public final boolean equals(Object o)
- Overrides:
equals
in class Object
compareTo
public final int compareTo(PlanParticle rhs)
- Specified by:
compareTo
in interface Comparable<PlanParticle>
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.