Class TransformationNaming
java.lang.Object
org.hibernate.orm.tooling.gradle.misc.TransformationNaming
Defines how we rename a file being transformed.
- API Note:
- All settings set to null indicates to use the same file
name. Note that with no
TransformHbmXmlTask.getOutputDirectory()specified, this would mean replacing the original rather than making a copy (effectively,`deleteHbmFiles=true`)
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TransformationNaming
public TransformationNaming()
-
-
Method Details
-
getPrefix
A prefix to apply to the file name.E.g. given an
`hbm.xml`file named`my-mappings.hbm.xml`and a configured prefix of`transformed-`, the copy file's name would be`transformed-my-mappings.hbm.xml`- See Also:
-
getSuffix
A suffix to apply to the file name.E.g. given an
`hbm.xml`file named`my-mappings.hbm.xml`and a configured suffix of`-transformed`, the copy file's name would be`my-mappings-transformed.hbm.xml`- See Also:
-
getExtension
-
areNoneDefined
public boolean areNoneDefined()
-