Package org.glassfish.config.support
Annotation Interface ListingColumn
List command column annotation.
>This annotation works with the Listing annotation to provide additional information about
columns in the output. The annotation can be placed on any method that takes no arguments and
returns a type that can be converted to a String, including default methods.
- Author:
- Tom Mueller
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanDetermines whether a column should be excluded from the output.Returns the header for the column.booleanDetermines whether a column should be included in the --long output by default.intDetermines the order of the columns from left to right.
-
Element Details
-
order
int orderDetermines the order of the columns from left to right. The "key" attribute is assigned order value 0. Higher order values are for columns further to the right.- Default:
- 1
-
header
String headerReturns the header for the column. The calculated value is the method name converted to XML form, e.g., getSomeAttr is SOME-ATTR- Default:
- ""
-
exclude
boolean excludeDetermines whether a column should be excluded from the output. The default is false.- Default:
- false
-
inLongByDefault
boolean inLongByDefaultDetermines whether a column should be included in the --long output by default. The default is true.- Default:
- true
-