Class NativeSignaturePackageMetadata
java.lang.Object
com.pnfsoftware.jeb.core.units.code.asm.sig.NativeSignaturePackageMetadata
Metadata associated with a signature package.
-
Method Summary
Modifier and TypeMethodDescriptioncreate(ProcessorType proctype, String name, int uuid, int version, String description, String author, ICompiler targetCompiler, LibraryID libraryId) Create signature package metadata.Get the package author.longGet the package creation timestamp.Get the package description.Get the library identifier associated with this package.getName()Get the package name.Provides the compiler targeted by this signature package.Get the target processor type.intgetUuid()Get the package identifier.intGet the package version.toString()
-
Method Details
-
create
public static NativeSignaturePackageMetadata create(ProcessorType proctype, String name, int uuid, int version, String description, String author, ICompiler targetCompiler, LibraryID libraryId) Create signature package metadata.- Parameters:
proctype- target processor typename- package nameuuid- package identifierversion- package versiondescription- package descriptionauthor- package authortargetCompiler- target compiler, if anylibraryId- library identifier, if any- Returns:
- signature package metadata
-
getTargetProcessorType
Get the target processor type.- Returns:
- target processor type
-
getName
Get the package name.- Returns:
- package name
-
getVersion
public int getVersion()Get the package version.- Returns:
- package version
-
getDescription
Get the package description.- Returns:
- package description
-
getAuthor
Get the package author.- Returns:
- package author
-
getCreationTimestamp
public long getCreationTimestamp()Get the package creation timestamp.- Returns:
- creation timestamp, in seconds since the Unix epoch
-
getTargetCompiler
Provides the compiler targeted by this signature package.- Returns:
- compiler, might be null
-
toString
-
getLibraryId
Get the library identifier associated with this package.- Returns:
- library identifier, possibly null
-
getUuid
public int getUuid()Get the package identifier.- Returns:
- package identifier
-