Class Snapshot

    • Constructor Detail

      • Snapshot

        public Snapshot()
    • Method Detail

      • clone

        public Snapshot clone()
        Method clone.
        Overrides:
        clone in class Object
        Returns:
        Snapshot
      • getBuildNumber

        public int getBuildNumber()
        Get the incremental build number.
        Returns:
        int
      • getTimestamp

        public String getTimestamp()
        Get the timestamp when this version was deployed. The timestamp is expressed using UTC in the format yyyyMMdd.HHmmss.
        Returns:
        String
      • isLocalCopy

        public boolean isLocalCopy()
        Get whether to use a local copy instead (with filename that includes the base version).
        Returns:
        boolean
      • setBuildNumber

        public void setBuildNumber​(int buildNumber)
        Set the incremental build number.
        Parameters:
        buildNumber - a buildNumber object.
      • setLocalCopy

        public void setLocalCopy​(boolean localCopy)
        Set whether to use a local copy instead (with filename that includes the base version).
        Parameters:
        localCopy - a localCopy object.
      • setTimestamp

        public void setTimestamp​(String timestamp)
        Set the timestamp when this version was deployed. The timestamp is expressed using UTC in the format yyyyMMdd.HHmmss.
        Parameters:
        timestamp - a timestamp object.