I have one more question.
In BuildOptionEdit page, there is two variables.
one is prompt as text input (Var_A), the other is plugin bean editor(Var_B).
I want to get string which is user input to Var_A in plugin codes, but i don`t find any solution.
I try below codes, but that values are null.
@Editable(order=100, name="Test" ,description="Input related Var_A")
@NotEmpty
public String getTestValue() {
// try 1
// if(Context.getConfiguration().getVar("Var_A").getValue()) != null){
// TestValue= vars.getValue("Var_A");
// }
// try 2
// VariableAccessor vars = new VariableAccessor();
// if(vars.getValue("Var_A") != null){
// TestValue= vars.getValue("Var_A");
// }
return TestValue;
}
public void setTestValue(String TestValue) {
this.TestValue= TestValue;
}
Can I access to variables on Build option edit page (which is when I press "Run the configuration" button) from plugin codes?