Class Snapshot

  • All Implemented Interfaces:
    java.io.Serializable

    public class Snapshot
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Constructor Detail

      • Snapshot

        public Snapshot​(java.lang.String name,
                        java.lang.String description,
                        java.lang.String owner,
                        org.joda.time.DateTime createdOn,
                        org.joda.time.DateTime expiresIn,
                        boolean visibleToPublic,
                        java.lang.String timberVersion)
    • Method Detail

      • from

        public static Snapshot from​(@NonNull
                                    @NonNull Group group)
      • from

        public static Snapshot from​(@NonNull
                                    @NonNull Group group,
                                    @NonNull
                                    @NonNull java.util.Map<java.lang.String,​java.util.Set<Variable>> variables)
      • getName

        public java.lang.String getName()
      • getDescription

        public java.lang.String getDescription()
      • getOwner

        public java.lang.String getOwner()
      • getCreatedOn

        public org.joda.time.DateTime getCreatedOn()
      • getExpirationDate

        public org.joda.time.DateTime getExpirationDate()
      • isVisibleToPublic

        public boolean isVisibleToPublic()
      • getTimberVersion

        public java.lang.String getTimberVersion()
      • getId

        public long getId()
      • setName

        public void setName​(java.lang.String name)
      • setDescription

        public void setDescription​(java.lang.String description)
      • setOwner

        public void setOwner​(java.lang.String owner)
      • setCreatedOn

        public void setCreatedOn​(org.joda.time.DateTime createdOn)
      • setExpirationDate

        public void setExpirationDate​(org.joda.time.DateTime expirationDate)
      • setVisibleToPublic

        public void setVisibleToPublic​(boolean visibleToPublic)
      • setTimberVersion

        public void setTimberVersion​(java.lang.String timberVersion)
      • setId

        public void setId​(long id)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object