Package sc.util

Class BuildTag


  • public class BuildTag
    extends java.lang.Object
    Information that tags a build in StrataCode. You can use the API to configure or extend a layer that uses the api to customize the way you tag your builds. Stores the build tag information from a builderTag instance created when one scc program builds another using meta-data stored from the buildInfo or LayeredSystem. For convenience, you can access the BuildTag.builderTag instance to populate runtime values for the buildTag of the program you are defining using the @BuildInit annotation on your BuildTag instance.
    • Constructor Summary

      Constructors 
      Constructor Description
      BuildTag()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getBuildTag()  
      static java.lang.String getBuildTagString​(java.lang.String version, java.lang.String tag, java.lang.String revision, java.lang.String buildNumber, java.lang.String timeStamp, java.lang.String scmVersion, java.lang.String javaVersion)  
      java.lang.String getManifest()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • version

        public java.lang.String version
      • tag

        public java.lang.String tag
      • revision

        public java.lang.String revision
      • buildNumber

        public java.lang.String buildNumber
      • timeStamp

        public java.lang.String timeStamp
      • user

        public java.lang.String user
      • scmVersion

        public java.lang.String scmVersion
      • javaVersion

        public java.lang.String javaVersion
      • osVersion

        public java.lang.String osVersion
      • layerNames

        public java.lang.String layerNames
    • Constructor Detail

      • BuildTag

        public BuildTag()
    • Method Detail

      • getBuildTag

        public java.lang.String getBuildTag()
      • getBuildTagString

        public static java.lang.String getBuildTagString​(java.lang.String version,
                                                         java.lang.String tag,
                                                         java.lang.String revision,
                                                         java.lang.String buildNumber,
                                                         java.lang.String timeStamp,
                                                         java.lang.String scmVersion,
                                                         java.lang.String javaVersion)
      • getManifest

        public java.lang.String getManifest()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object