Package org.eclipse.packager.rpm.build
Class FileInformation
- java.lang.Object
-
- org.eclipse.packager.rpm.build.FileInformation
-
public class FileInformation extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description FileInformation()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.util.Set<FileFlags>getFileFlags()java.lang.StringgetGroup()shortgetMode()java.time.InstantgetTimestamp()java.lang.StringgetUser()java.util.Set<VerifyFlags>getVerifyFlags()If non-null, specifies the verification flags.booleanisConfiguration()Deprecated.voidsetConfiguration(boolean configuration)Deprecated.voidsetFileFlags(java.util.Set<FileFlags> fileFlags)voidsetGroup(java.lang.String group)voidsetMode(short mode)voidsetTimestamp(java.time.Instant timestamp)voidsetUser(java.lang.String user)voidsetVerifyFlags(java.util.Set<VerifyFlags> verifyFlags)verify flags control the verify behaviour, i.e.java.lang.StringtoString()
-
-
-
Method Detail
-
setTimestamp
public void setTimestamp(java.time.Instant timestamp)
-
getTimestamp
public java.time.Instant getTimestamp()
-
setConfiguration
@Deprecated public void setConfiguration(boolean configuration)
Deprecated.
-
isConfiguration
@Deprecated public boolean isConfiguration()
Deprecated.
-
setFileFlags
public void setFileFlags(java.util.Set<FileFlags> fileFlags)
-
getFileFlags
public java.util.Set<FileFlags> getFileFlags()
-
setVerifyFlags
public void setVerifyFlags(java.util.Set<VerifyFlags> verifyFlags)
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
public java.util.Set<VerifyFlags> getVerifyFlags()
If non-null, specifies the verification flags. Null (default) means: verify everything (old behaviour).- Returns:
- maybe null
-
setUser
public void setUser(java.lang.String user)
-
getUser
public java.lang.String getUser()
-
setGroup
public void setGroup(java.lang.String group)
-
getGroup
public java.lang.String getGroup()
-
setMode
public void setMode(short mode)
-
getMode
public short getMode()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-