Class AceCommandArgs
java.lang.Object
cn.mapway.document.ui.client.component.ace.AceCommandArgs
Ace command's argument could be either string or string-to-string map.
-
Constructor Summary
ConstructorsConstructorDescriptionAceCommandArgs(String value) Create text argument.AceCommandArgs(Map<String, String> data) Create map argument. -
Method Summary
-
Constructor Details
-
AceCommandArgs
Create map argument. In casedatais null map will be empty.- Parameters:
data- data
-
AceCommandArgs
Create text argument.- Parameters:
value- string
-
-
Method Details
-
with
Add key-value pair to map.- Parameters:
argKey- argKeyargValue- argValue- Returns:
- AceCommandArgs
-
getValue
Give inner value.- Returns:
- string or map depending on used constructor
-