public abstract class Issue
extends java.lang.Object
properties it has. FIELD_PRIORITY and assign the
appropriate value.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FIELD_PRIORITY |
protected IssueTrackingField[] |
mFields |
| Constructor and Description |
|---|
Issue() |
| Modifier and Type | Method and Description |
|---|---|
abstract java.lang.String |
getDescription() |
IssueTrackingField[] |
getFields()
Get the fields of an issue.
|
abstract java.lang.String |
getId() |
abstract java.lang.String |
getLink() |
java.lang.String[] |
getMissingFields()
Get the labels of the fields where an input is missing.
|
java.lang.String[] |
getOptions(java.lang.String fieldname)
Get the options of a field with selectable values.
|
abstract java.lang.String |
getStatus() |
abstract java.lang.String |
getSynopsis() |
java.lang.String |
getValue(java.lang.String fieldname)
Get the value of a property.
|
abstract void |
setDescription(java.lang.String description) |
abstract void |
setSynopsis(java.lang.String synopsis) |
void |
setValue(java.lang.String fieldname,
java.lang.String value)
Set the value of a property.
|
void |
setValues(java.lang.String fieldname,
java.lang.String[] value)
Set the value of a property.
|
abstract java.lang.String |
store(Credentials credentials)
Stores the issue into the external issue tracking tool.
|
public static final java.lang.String FIELD_PRIORITY
protected IssueTrackingField[] mFields
public IssueTrackingField[] getFields()
fields of this issue.public void setValue(java.lang.String fieldname,
java.lang.String value)
fieldname - the id of the field.value - the new value of this field.public void setValues(java.lang.String fieldname,
java.lang.String[] value)
fieldname - the id of the field.value - the new value of this field.public java.lang.String getValue(java.lang.String fieldname)
fieldname - the id of the field.public java.lang.String[] getOptions(java.lang.String fieldname)
fieldname - the id of the field.public java.lang.String[] getMissingFields()
public abstract java.lang.String store(Credentials credentials) throws StoreIssueException
credentials - the credentials that will be used when storing this issue.StoreIssueExceptionpublic abstract void setSynopsis(java.lang.String synopsis)
public abstract void setDescription(java.lang.String description)
public abstract java.lang.String getStatus()
throws IssueTrackingProfileException
IssueTrackingProfileExceptionpublic abstract java.lang.String getId()
public abstract java.lang.String getLink()
throws IssueTrackingProfileException
IssueTrackingProfileExceptionpublic abstract java.lang.String getSynopsis()
throws IssueTrackingProfileException
IssueTrackingProfileExceptionpublic abstract java.lang.String getDescription()
throws IssueTrackingProfileException
IssueTrackingProfileExceptionCopyright © Micro Focus 2004-2019. All rights reserved.