Package org.kohsuke.stapler.export
Class ExportConfig
- java.lang.Object
-
- org.kohsuke.stapler.export.ExportConfig
-
public class ExportConfig extends Object
Controls the output behaviour.- Author:
- Kohsuke Kawaguchi
-
-
Field Summary
Fields Modifier and Type Field Description boolean
prettyPrint
Deprecated.Use getter and setter
-
Constructor Summary
Constructors Constructor Description ExportConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClassAttributeBehaviour
getClassAttribute()
ExportInterceptor
getExportInterceptor()
Controls serialization ofExported
properties.Flavor
getFlavor()
GivesFlavor
boolean
isPrettyPrint()
If true, output will be indented to make it easier for humans to understand.boolean
isSkipIfFail()
Turn on or off pretty printing of serialized data.ExportConfig
withClassAttribute(ClassAttributeBehaviour cab)
Controls the behaviour of the class attribute to be produced.ExportConfig
withExportInterceptor(ExportInterceptor interceptor)
ExportConfig
withFlavor(Flavor flavor)
ExportConfig
withPrettyPrint(boolean prettyPrint)
If true, output will be indented to make it easier for humans to understand.ExportConfig
withSkipIfFail(boolean skipIfFail)
-
-
-
Field Detail
-
prettyPrint
@Deprecated public boolean prettyPrint
Deprecated.Use getter and setter
-
-
Method Detail
-
isPrettyPrint
public boolean isPrettyPrint()
If true, output will be indented to make it easier for humans to understand.
-
withPrettyPrint
public ExportConfig withPrettyPrint(boolean prettyPrint)
If true, output will be indented to make it easier for humans to understand.
-
getClassAttribute
public ClassAttributeBehaviour getClassAttribute()
-
withClassAttribute
public ExportConfig withClassAttribute(ClassAttributeBehaviour cab)
Controls the behaviour of the class attribute to be produced.
-
getExportInterceptor
public ExportInterceptor getExportInterceptor()
Controls serialization ofExported
properties.
-
withExportInterceptor
public ExportConfig withExportInterceptor(ExportInterceptor interceptor)
-
withSkipIfFail
public ExportConfig withSkipIfFail(boolean skipIfFail)
-
isSkipIfFail
public boolean isSkipIfFail()
Turn on or off pretty printing of serialized data.
-
withFlavor
public ExportConfig withFlavor(Flavor flavor)
-
-