-
public final class TidyRobotConfiguration
-
-
Field Summary
Fields Modifier and Type Field Description private Property<Boolean>inplaceprivate Property<Boolean>recursiveprivate Property<Boolean>usepipesprivate Property<String>lineseparatorprivate Property<Integer>spacecount
-
Constructor Summary
Constructors Constructor Description TidyRobotConfiguration(Project project)
-
Method Summary
Modifier and Type Method Description final Property<Boolean>getInplace()Tidy given file(s) so that original file(s) are overwritten. final UnitsetInplace(Property<Boolean> inplace)Tidy given file(s) so that original file(s) are overwritten. final Property<Boolean>getRecursive()Process given directory recursively. final UnitsetRecursive(Property<Boolean> recursive)Process given directory recursively. final Property<Boolean>getUsepipes()Use pipe ('|') as a column separator in the plain text format. final UnitsetUsepipes(Property<Boolean> usepipes)Use pipe ('|') as a column separator in the plain text format. final Property<String>getLineseparator()Line separator to use in outputs. final UnitsetLineseparator(Property<String> lineseparator)Line separator to use in outputs. final Property<Integer>getSpacecount()The number of spaces between cells in the plain text format. final UnitsetSpacecount(Property<Integer> spacecount)The number of spaces between cells in the plain text format. final Array<String>generateArguments()-
-
Method Detail
-
getInplace
final Property<Boolean> getInplace()
Tidy given file(s) so that original file(s) are overwritten. When this option is used, it is possible to give multiple input files.
Default-Value:
false
-
setInplace
final Unit setInplace(Property<Boolean> inplace)
Tidy given file(s) so that original file(s) are overwritten. When this option is used, it is possible to give multiple input files.
Default-Value:
false
-
getRecursive
final Property<Boolean> getRecursive()
Process given directory recursively. Files in the directory are processed in-place similarly as when inplace option is used. Does not process referenced resource files.
Default-Value:
false
-
setRecursive
final Unit setRecursive(Property<Boolean> recursive)
Process given directory recursively. Files in the directory are processed in-place similarly as when inplace option is used. Does not process referenced resource files.
Default-Value:
false
-
getUsepipes
final Property<Boolean> getUsepipes()
Use pipe ('|') as a column separator in the plain text format.
Default-Value:
false
-
setUsepipes
final Unit setUsepipes(Property<Boolean> usepipes)
Use pipe ('|') as a column separator in the plain text format.
Default-Value:
false
-
getLineseparator
final Property<String> getLineseparator()
Line separator to use in outputs.
native: use operating system's native line separatorswindows: use Windows line separators (CRLF)unix: use Unix line separators (LF)
Default-Value:
native
-
setLineseparator
final Unit setLineseparator(Property<String> lineseparator)
Line separator to use in outputs.
native: use operating system's native line separatorswindows: use Windows line separators (CRLF)unix: use Unix line separators (LF)
Default-Value:
native
-
getSpacecount
final Property<Integer> getSpacecount()
The number of spaces between cells in the plain text format.
Default-Value:
4
-
setSpacecount
final Unit setSpacecount(Property<Integer> spacecount)
The number of spaces between cells in the plain text format.
Default-Value:
4
-
generateArguments
final Array<String> generateArguments()
-
-
-
-