Class DeploymentDashboard


  • public class DeploymentDashboard
    extends Object
    • Method Detail

      • getId

        @NotNull
        public String getId()
        Returns ID (unique in context of project it is associated with) of this dashboard.
      • getName

        @NotNull
        public String getName()
        Returns name of this dashboard.
      • setName

        public void setName​(@NotNull
                            String newName)
        Updates name of this dashboard.
      • getInstance

        @Nullable
        public DeploymentInstance getInstance​(String instanceId)
        Returns `Instance` found by `instanceId` if present, otherwise returns null.
      • getInstances

        public Map<String,​DeploymentInstance> getInstances()
        Returns map of instance IDs and instances associated with this dashboard.
      • addOrUpdateInstance

        public void addOrUpdateInstance​(DeploymentInstance instance)
        Add a new instance `instance` to this dashboard, or update existing one if present.
      • removeInstance

        public void removeInstance​(DeploymentInstance instance)
        Remove instance `instance` if present.
      • removeInstance

        public void removeInstance​(String instanceId)
        Remove instance found by `instanceId` if present.
      • getProjectExtId

        @NotNull
        public String getProjectExtId()
      • equals

        public boolean equals​(@Nullable
                              Object obj)
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object