Interface JvmBinarySpec
- All Superinterfaces:
Binary, BinarySpec, Buildable, BuildableComponentSpec, CheckableComponentSpec, ComponentSpec, ModelElement, Named
- All Known Subinterfaces:
ClassDirectoryBinarySpec, JarBinarySpec, JUnitTestSuiteBinarySpec, JvmTestSuiteBinarySpec
Represents a binary artifact that is the result of building a jvm component.
-
Nested Class Summary
Nested classes/interfaces inherited from interface Named
Named.Namer -
Method Summary
Modifier and TypeMethodDescriptionThe classes directory for this binary.The resources directory for this binary.The target platform for this binary.Returns theJavaToolChainthat will be used to build this binary.voidsetClassesDir(File classesDir) Sets the classes directory for this binary.voidsetResourcesDir(File dir) Sets the resources directory for this binary.voidsetTargetPlatform(JavaPlatform platform) Sets the target platform for this binary.voidsetToolChain(JavaToolChain toolChain) Sets theJavaToolChainthat will be used to build this binary.Methods inherited from interface Binary
getDisplayNameMethods inherited from interface BinarySpec
getInputs, getSources, getTasks, isBuildableMethods inherited from interface Buildable
getBuildDependenciesMethods inherited from interface BuildableComponentSpec
builtBy, getBuildTask, hasBuildDependencies, setBuildTaskMethods inherited from interface CheckableComponentSpec
checkedBy, getCheckTask, setCheckTaskMethods inherited from interface ComponentSpec
getProjectPathMethods inherited from interface ModelElement
getDisplayName, getName
-
Method Details
-
getTargetPlatform
JavaPlatform getTargetPlatform()The target platform for this binary. -
setTargetPlatform
Sets the target platform for this binary. -
getToolChain
JavaToolChain getToolChain()Returns theJavaToolChainthat will be used to build this binary. -
setToolChain
Sets theJavaToolChainthat will be used to build this binary. -
getClassesDir
File getClassesDir()The classes directory for this binary. -
setClassesDir
Sets the classes directory for this binary. -
getResourcesDir
File getResourcesDir()The resources directory for this binary. -
setResourcesDir
Sets the resources directory for this binary.
-