|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.cert.cc.jira.atc.config.IssueConfiguration
public final class IssueConfiguration
IssueConfiguration is a configuration for creating new issues based on an existing
JIRA Issue
.
© 2010 Carnegie Mellon University
Constructor Summary | |
---|---|
IssueConfiguration()
Constructor |
Method Summary | |
---|---|
void |
addField(FieldConfiguration fc)
Adds a FieldConfiguration |
boolean |
containsFieldDefinition(String name)
|
boolean |
equals(Object o)
|
Collection<FieldConfiguration> |
getAllFieldConfigurations()
Returns all of the FieldConfiguration s |
FieldConfiguration |
getFieldConfiguration(String fieldName)
Returns a specific FieldConfiguration |
Set<FieldConfiguration> |
getFieldConfigurations(boolean standard)
Returns a Set of FieldConfiguration s. |
String |
getLinkType()
|
ScriptConfiguration |
getScriptConfiguration()
|
String |
getType()
Returns the type |
int |
hashCode()
|
void |
setLinkType(String linkType)
|
void |
setScriptConfiguration(ScriptConfiguration scriptConfiguration)
|
void |
setType(String type)
Sets the type |
String |
toString()
|
void |
updateStandardFieldConfigurations(Collection<String> standardFields)
Updates all of the FieldConfiguration objects to be standard where
the field names are present in standardFields . |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public IssueConfiguration()
Method Detail |
---|
public boolean containsFieldDefinition(String name)
public ScriptConfiguration getScriptConfiguration()
public void setScriptConfiguration(ScriptConfiguration scriptConfiguration)
scriptConfiguration
- the scriptConfiguration to setpublic void updateStandardFieldConfigurations(Collection<String> standardFields)
FieldConfiguration
objects to be standard where
the field names are present in standardFields
. Initially all
FieldConfiguration
s are marked as non-standard.
standardFields
- Set
of JIRA standard field namespublic Set<FieldConfiguration> getFieldConfigurations(boolean standard)
Set
of FieldConfiguration
s. Either the standard or non-standard
FieldConfiguration
s will be returned. To get all FieldConfiguration
, use
{getAllFieldConfigurations()
.
standard
- Type of FieldConfiguration
to be returned
Set
of FieldConfiguration
spublic Collection<FieldConfiguration> getAllFieldConfigurations()
FieldConfiguration
s
public void addField(FieldConfiguration fc)
FieldConfiguration
public FieldConfiguration getFieldConfiguration(String fieldName)
FieldConfiguration
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String getType()
public void setType(String type)
public void setLinkType(String linkType)
linkType
- the linkType to setpublic String getLinkType()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |