|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.cert.cc.jira.atc.config.IssueTypeConfiguration
public final class IssueTypeConfiguration
IssueTypeConfiguration is a configuration for creating new issues based on an existing
JIRA Issue
's IssueType
.
© 2010 Carnegie Mellon University
Constructor Summary | |
---|---|
IssueTypeConfiguration()
Constructor |
Method Summary | |
---|---|
void |
addIssue(IssueConfiguration config)
Adds a new IssueConfiguration |
int |
compareTo(IssueTypeConfiguration other)
|
boolean |
equals(Object o)
|
Set<IssueConfiguration> |
getIssueConfigurations()
Returns all of the IssueConfiguration s |
String |
getName()
|
Set<Trigger> |
getTriggers()
|
int |
hashCode()
|
boolean |
isCatchAll()
Returns if this is a catch all |
boolean |
matches(IssueType issueType,
Trigger trigger)
Returns if this IssueTypeConfiguration is used for the specified issueType and trigger . |
void |
setName(String name)
|
void |
setTrigger(String trigger)
Sets all of the triggers |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public IssueTypeConfiguration()
Method Detail |
---|
public boolean matches(IssueType issueType, Trigger trigger)
issueType
and trigger
. A catch-all (name equal to *)
will match any name, but not any Trigger
.
issueType
- IssueType
to be matchedtrigger
- Trigger
to be checked
public int compareTo(IssueTypeConfiguration other)
compareTo
in interface Comparable<IssueTypeConfiguration>
public boolean isCatchAll()
public Set<IssueConfiguration> getIssueConfigurations()
IssueConfiguration
s
public void addIssue(IssueConfiguration config)
IssueConfiguration
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String getName()
public void setName(String name)
name
- the name to setpublic void setTrigger(String trigger)
public Set<Trigger> getTriggers()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |