[New] added ListParameter.isValueEmpty()
This commit is contained in:
parent
6ae389bc75
commit
249cc0a6b0
|
@ -47,4 +47,11 @@ public interface ListParameter<E> extends Parameter<List<E>> {
|
|||
* Clears the list of values
|
||||
*/
|
||||
public void clearValue();
|
||||
|
||||
/**
|
||||
* Returns true if the list of values is empty, false if not
|
||||
*
|
||||
* @returns true if the list of values is empty, false if not
|
||||
*/
|
||||
public boolean isValueEmpty();
|
||||
}
|
||||
|
|
|
@ -126,6 +126,11 @@ public class StringListParameter extends AbstractParameter<List<String>> impleme
|
|||
this.value.clear();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isValueEmpty() {
|
||||
return this.value.isEmpty();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getType() {
|
||||
return TYPE;
|
||||
|
|
Loading…
Reference in New Issue