Class FileContext
- java.lang.Object
-
- io.wcm.devops.conga.generator.spi.context.FileContext
-
public final class FileContext extends Object
File context for plugins.
-
-
Constructor Summary
Constructors Constructor Description FileContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileContext
charset(String value)
FileContext
charset(Charset value)
FileContext
file(File value)
String
getCanonicalPath()
String
getCharset()
File
getFile()
Map<String,Object>
getModelOptions()
File
getTargetDir()
FileContext
modelOptions(Map<String,Object> value)
FileContext
targetDir(File value)
String
toString()
-
-
-
Method Detail
-
getFile
public File getFile()
- Returns:
- File
-
file
public FileContext file(File value)
- Parameters:
value
- File- Returns:
- this
-
getCanonicalPath
public String getCanonicalPath()
- Returns:
- Canonical path
-
getCharset
public String getCharset()
- Returns:
- Charset
-
charset
public FileContext charset(String value)
- Parameters:
value
- Charset- Returns:
- this
-
charset
public FileContext charset(Charset value)
- Parameters:
value
- Charset- Returns:
- this
-
modelOptions
public FileContext modelOptions(Map<String,Object> value)
- Parameters:
value
- Model options- Returns:
- this
-
getTargetDir
public File getTargetDir()
- Returns:
- Target directory for generated configuration
-
targetDir
public FileContext targetDir(File value)
- Parameters:
value
- Target directory for generated configuration- Returns:
- this
-
-