Package io.fabric8.openshift.api.model
Class ImageSourcePath
- java.lang.Object
-
- io.fabric8.openshift.api.model.ImageSourcePath
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ImageSourcePathBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ImageSourcePath extends Object implements io.fabric8.kubernetes.api.builder.Editable<ImageSourcePathBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
ImageSourcePath describes a path to be copied from a source image and its destination within the build directory.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ImageSourcePath()No args constructor for use in serializationImageSourcePath(String destinationDir, String sourcePath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImageSourcePathBuilderedit()Map<String,Object>getAdditionalProperties()StringgetDestinationDir()destinationDir is the relative directory within the build directory where files copied from the image are placed.StringgetSourcePath()sourcePath is the absolute path of the file or directory inside the image to copy to the build directory.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetDestinationDir(String destinationDir)destinationDir is the relative directory within the build directory where files copied from the image are placed.voidsetSourcePath(String sourcePath)sourcePath is the absolute path of the file or directory inside the image to copy to the build directory.ImageSourcePathBuildertoBuilder()
-
-
-
Method Detail
-
getDestinationDir
public String getDestinationDir()
destinationDir is the relative directory within the build directory where files copied from the image are placed.
-
setDestinationDir
public void setDestinationDir(String destinationDir)
destinationDir is the relative directory within the build directory where files copied from the image are placed.
-
getSourcePath
public String getSourcePath()
sourcePath is the absolute path of the file or directory inside the image to copy to the build directory. If the source path ends in /. then the content of the directory will be copied, but the directory itself will not be created at the destination.
-
setSourcePath
public void setSourcePath(String sourcePath)
sourcePath is the absolute path of the file or directory inside the image to copy to the build directory. If the source path ends in /. then the content of the directory will be copied, but the directory itself will not be created at the destination.
-
edit
public ImageSourcePathBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ImageSourcePathBuilder>
-
toBuilder
public ImageSourcePathBuilder toBuilder()
-
-