Package org.rundeck.client.tool.format
Class NiceFormatter
- java.lang.Object
-
- org.rundeck.client.tool.format.NiceFormatter
-
- All Implemented Interfaces:
OutputFormatter
public class NiceFormatter extends java.lang.Object implements OutputFormatter
-
-
Constructor Summary
Constructors Constructor Description NiceFormatter(OutputFormatter base)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringformat(java.lang.Object o)java.lang.StringgetCollectionIndicator()java.lang.StringgetIndentation()java.lang.StringgetKeyValueSeparator()voidsetCollectionIndicator(java.lang.String collectionIndicator)voidsetIndentation(java.lang.String indentation)voidsetKeyValueSeparator(java.lang.String keyValueSeparator)OutputFormatterwithBase(OutputFormatter base)
-
-
-
Constructor Detail
-
NiceFormatter
public NiceFormatter(OutputFormatter base)
-
-
Method Detail
-
withBase
public OutputFormatter withBase(OutputFormatter base)
- Specified by:
withBasein interfaceOutputFormatter
-
format
public java.lang.String format(java.lang.Object o)
- Specified by:
formatin interfaceOutputFormatter
-
getCollectionIndicator
public java.lang.String getCollectionIndicator()
-
setCollectionIndicator
public void setCollectionIndicator(java.lang.String collectionIndicator)
-
getKeyValueSeparator
public java.lang.String getKeyValueSeparator()
-
setKeyValueSeparator
public void setKeyValueSeparator(java.lang.String keyValueSeparator)
-
getIndentation
public java.lang.String getIndentation()
-
setIndentation
public void setIndentation(java.lang.String indentation)
-
-