Class NativeSignaturePackageMetadata

java.lang.Object
com.pnfsoftware.jeb.core.units.code.asm.sig.NativeSignaturePackageMetadata

@Ser public class NativeSignaturePackageMetadata extends Object
Metadata associated with a signature package.
  • 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 type
      name - package name
      uuid - package identifier
      version - package version
      description - package description
      author - package author
      targetCompiler - target compiler, if any
      libraryId - library identifier, if any
      Returns:
      signature package metadata
    • getTargetProcessorType

      public ProcessorType getTargetProcessorType()
      Get the target processor type.
      Returns:
      target processor type
    • getName

      public String getName()
      Get the package name.
      Returns:
      package name
    • getVersion

      public int getVersion()
      Get the package version.
      Returns:
      package version
    • getDescription

      public String getDescription()
      Get the package description.
      Returns:
      package description
    • getAuthor

      public String 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

      public ICompiler getTargetCompiler()
      Provides the compiler targeted by this signature package.
      Returns:
      compiler, might be null
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getLibraryId

      public LibraryID 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