Annotation Type AdditionalPrinterColumn
-
@Repeatable(AdditionalPrinterColumns.class) @Target(TYPE) @Retention(RUNTIME) public @interface AdditionalPrinterColumn
Defines an additional printer column. Must be placed at the root of the custom resource.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description PrinterColumnFormatformatThe printer column format.StringgetDescriptionThe description of the printer columnStringnameThe name of the column.intpriorityThe printer column priority.AdditionalPrinterColumn.TypetypeThe type of the printer column
-
-
-
Element Detail
-
jsonPath
String jsonPath
The JSON Path to the field- Returns:
- the JSON Path
-
-
-
name
String name
The name of the column. An empty column name implies the use of the last path element- Returns:
- the column name, or empty string if the last path element should be used.
- Default:
- ""
-
-
-
format
PrinterColumnFormat format
The printer column format.- Returns:
- the format or NONE if no format is specified.
- Default:
- io.fabric8.crd.generator.annotation.PrinterColumnFormat.NONE
-
-
-
type
AdditionalPrinterColumn.Type type
The type of the printer column- Returns:
- the type
- Default:
- io.fabric8.crd.generator.annotation.AdditionalPrinterColumn.Type.STRING
-
-
-
getDescription
String getDescription
The description of the printer column- Returns:
- the description
- Default:
- ""
-
-