Class DeployHeader

  • All Implemented Interfaces:
    EncodableValue

    public class DeployHeader
    extends java.lang.Object
    implements EncodableValue
    The header portion of a [`Deploy`](struct.Deploy.html).
    Since:
    0.0.1
    • Constructor Detail

      • DeployHeader

        public DeployHeader​(PublicKey account,
                            Digest bodyHash,
                            java.lang.String chainName,
                            java.util.List<Digest> dependencies,
                            java.lang.Long gasPrice,
                            java.util.Date timeStamp,
                            Ttl ttl)
      • DeployHeader

        public DeployHeader()
    • Method Detail

      • getBodyHash

        public Digest getBodyHash()
        Body hash
      • getChainName

        public java.lang.String getChainName()
        Chain name
      • getDependencies

        public java.util.List<Digest> getDependencies()
        Dependencies
      • getGasPrice

        public java.lang.Long getGasPrice()
        Gas price
      • getTimeStamp

        public java.util.Date getTimeStamp()
        Timestamp formatted as per RFC 3339
      • getTtl

        public Ttl getTtl()
        Human-readable duration
      • setBodyHash

        public void setBodyHash​(Digest bodyHash)
        Body hash
      • setChainName

        public void setChainName​(java.lang.String chainName)
        Chain name
      • setDependencies

        public void setDependencies​(java.util.List<Digest> dependencies)
        Dependencies
      • setGasPrice

        public void setGasPrice​(java.lang.Long gasPrice)
        Gas price
      • setTimeStamp

        public void setTimeStamp​(java.util.Date timeStamp)
        Timestamp formatted as per RFC 3339
      • setTtl

        public void setTtl​(Ttl ttl)
        Human-readable duration