Package org.eclipse.packager.rpm.build
Class FileInformation
java.lang.Object
org.eclipse.packager.rpm.build.FileInformation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetGroup()shortgetMode()getUser()If non-null, specifies the verification flags.booleanDeprecated.voidsetConfiguration(boolean configuration) Deprecated.voidsetFileFlags(Set<FileFlags> fileFlags) voidvoidsetMode(short mode) voidsetTimestamp(Instant timestamp) voidvoidsetVerifyFlags(Set<VerifyFlags> verifyFlags) verify flags control the verify behaviour, i.e.toString()
-
Constructor Details
-
FileInformation
public FileInformation()
-
-
Method Details
-
setTimestamp
-
getTimestamp
-
setConfiguration
Deprecated. -
isConfiguration
Deprecated. -
setFileFlags
-
getFileFlags
-
setVerifyFlags
verify flags control the verify behaviour, i.e.rpm -V .... See https://github.com/ctron/rpm-builder/issues/41
The value null restores the default. This will result in a bitmask with value -1, so the RPM tool will then verify everything it knows of, not only what this library knows of. Thus there is a subtle difference between passingnulland passingEnumSet.allOf(VerifyFlags.class)- Parameters:
verifyFlags- set of VerifyFlags, maybe null.- Since:
- 0.15.2
-
getVerifyFlags
If non-null, specifies the verification flags. Null (default) means: verify everything (old behaviour).- Returns:
- maybe null
-
setUser
-
getUser
-
setGroup
-
getGroup
-
setMode
public void setMode(short mode) -
getMode
public short getMode() -
toString
-