public class AssemblyFile extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
AssemblyFile.AssemblyFileBuilder |
Constructor and Description |
---|
AssemblyFile() |
AssemblyFile(File source,
File outputDirectory,
String destName,
String fileMode) |
Modifier and Type | Method and Description |
---|---|
static AssemblyFile.AssemblyFileBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getDestName()
Destination filename in the outputDirectory.
|
String |
getFileMode()
Similar to a UNIX permission, sets the file mode of the file included.
|
File |
getOutputDirectory()
Output directory relative to the root of the root directory of the assembly.
|
File |
getSource()
Absolute or relative path from the project's directory of the file to be included in the assembly.
|
int |
hashCode() |
void |
setDestName(String destName)
Destination filename in the outputDirectory.
|
void |
setFileMode(String fileMode)
Similar to a UNIX permission, sets the file mode of the file included.
|
void |
setOutputDirectory(String outputDirectory)
Output directory relative to the root of the root directory of the assembly.
|
void |
setSource(File source)
Absolute or relative path from the project's directory of the file to be included in the assembly.
|
public AssemblyFile(File source, File outputDirectory, String destName, String fileMode)
public AssemblyFile()
public void setOutputDirectory(String outputDirectory)
outputDirectory
- New output directory for the assembly file.public static AssemblyFile.AssemblyFileBuilder builder()
public File getSource()
public File getOutputDirectory()
public String getDestName()
public String getFileMode()
Format: (User)(Group)(Other) where each component is a sum of Read = 4, Write = 2, and Execute = 1.
For example, the value 0644 translates to User read-write, Group and Other read-only.
public void setSource(File source)
source
- New source for the assembly file.public void setDestName(String destName)
destName
- New destination filename.public void setFileMode(String fileMode)
Format: (User)(Group)(Other) where each component is a sum of Read = 4, Write = 2, and Execute = 1.
For example, the value 0644 translates to User read-write, Group and Other read-only.
fileMode
- New file mode value for the assembly fileSet.protected boolean canEqual(Object other)
Copyright © 2021. All rights reserved.