Class Inject
- java.lang.Object
-
- org.forgerock.maven.plugins.inject.content.Inject
-
public class Inject extends Object
Maven configuration object for modelling the content files and the ID placeholders for destination file, where the content files will be injected.- Since:
- 12.0.0
-
-
Constructor Summary
Constructors Constructor Description Inject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetContentConverter()Gets the name of theContentConverterto use when injecting content into the destination file.List<Content>getContents()Gets the contents that will be injected into the destination file.FilegetDestinationFile()Gets the destination file.voidsetContentConverter(String contentConverter)Sets the name of theContentConverterto use when injecting content into the destination file.voidsetContents(List<Content> contents)Sets the contents that will be injected into the destination file.voidsetDestinationFile(File destinationFile)Sets the destination file.
-
-
-
Method Detail
-
getContents
public List<Content> getContents()
Gets the contents that will be injected into the destination file.- Returns:
- The contents.
-
setContents
public void setContents(List<Content> contents)
Sets the contents that will be injected into the destination file.- Parameters:
contents- The contents.
-
getDestinationFile
public File getDestinationFile()
Gets the destination file.- Returns:
- The destination file.
-
setDestinationFile
public void setDestinationFile(File destinationFile)
Sets the destination file.- Parameters:
destinationFile- The destination file.
-
getContentConverter
public String getContentConverter()
Gets the name of the
ContentConverterto use when injecting content into the destination file.- Returns:
- The content converter name.
-
setContentConverter
public void setContentConverter(String contentConverter)
Sets the name of the
ContentConverterto use when injecting content into the destination file.Optional, defaults to "none".
- Parameters:
contentConverter- The content converter name.
-
-