|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.mylar.tasks.core.RepositoryOperation
public class RepositoryOperation
A representation of an operation that can be done to the bug when it is submitted
Field Summary | |
---|---|
private boolean |
hasOptions
Flag for if we have any options or not |
private java.lang.String |
inputName
|
private java.lang.String |
inputValue
|
private boolean |
isChecked
Whether this is to be checked or not |
private boolean |
isInput
|
private java.lang.String |
knob_name
The name of the value for the knob attribute |
private java.lang.String |
op_name
The name of the operation (text that we display) |
private java.lang.String |
op_sel
The option that is selected |
private java.lang.String |
optionName
The name of the option that can be chosen |
private java.util.List<java.lang.String> |
optionNames
List of option names |
private java.util.Map<java.lang.String,java.lang.String> |
options
Map of options and their names |
private static long |
serialVersionUID
Comment for serialVersionUID |
Constructor Summary | |
---|---|
RepositoryOperation(java.lang.String knobName,
java.lang.String operationName)
Constructor |
Method Summary | |
---|---|
void |
addOption(java.lang.String name,
java.lang.String value)
Add an option value to the operation |
java.lang.String |
getInputName()
|
java.lang.String |
getInputValue()
|
java.lang.String |
getKnobName()
Get the knob name |
java.lang.String |
getOperationName()
Get the display name |
java.lang.String |
getOptionName()
Get the name for the option attribute |
java.util.List<java.lang.String> |
getOptionNames()
Get the list of option names for this operation |
java.lang.String |
getOptionSelection()
Get the selected option |
java.lang.String |
getOptionValue(java.lang.String option)
Get the value for an option from its name |
boolean |
hasOptions()
Check if this has any options |
boolean |
isChecked()
Check if this is to be checked or not |
boolean |
isInput()
|
void |
setChecked(boolean b)
Set whether this option is to be checked or not |
void |
setInputName(java.lang.String inputName)
|
void |
setInputValue(java.lang.String inputValue)
|
void |
setOptionSelection(java.lang.String string)
Set the selected option |
void |
setUpOptions(java.lang.String optionName)
Set up this operation to have options |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
serialVersionUID
private java.lang.String knob_name
private java.lang.String optionName
private java.util.List<java.lang.String> optionNames
private java.util.Map<java.lang.String,java.lang.String> options
private boolean hasOptions
private java.lang.String op_name
private java.lang.String op_sel
private boolean isChecked
private boolean isInput
private java.lang.String inputName
private java.lang.String inputValue
Constructor Detail |
---|
public RepositoryOperation(java.lang.String knobName, java.lang.String operationName)
knobName
- The name of the value for the knob attributeoperationName
- The display text for the operationMethod Detail |
---|
public java.lang.String getKnobName()
public java.lang.String getOperationName()
public boolean hasOptions()
public void setUpOptions(java.lang.String optionName)
optionName
- The name for the option attributepublic void addOption(java.lang.String name, java.lang.String value)
name
- The name of the optionvalue
- The value of the optionpublic java.util.List<java.lang.String> getOptionNames()
public java.lang.String getOptionSelection()
public void setOptionSelection(java.lang.String string)
string
- The name of the selected optionpublic boolean isChecked()
public void setChecked(boolean b)
b
- True if it is to be checkedpublic java.lang.String getOptionName()
public java.lang.String getOptionValue(java.lang.String option)
option
- The name of the option
public boolean isInput()
public java.lang.String getInputName()
public void setInputName(java.lang.String inputName)
public java.lang.String getInputValue()
public void setInputValue(java.lang.String inputValue)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |