public abstract class AbstractTemplate extends BaseEntity
Modifier and Type | Class and Description |
---|---|
static class |
AbstractTemplate.Builder<T extends AbstractTemplate,V extends AbstractTemplate.Builder<T,V>>
Builder for creating templates.
|
Modifier and Type | Field and Description |
---|---|
protected Administration |
administration |
protected ClusterDefaults |
clusterDefaults |
protected Compatibilities |
compatibilities |
protected Constraints |
constraints |
protected Set<Link> |
links |
description, icon, label, version
name
Modifier | Constructor and Description |
---|---|
protected |
AbstractTemplate(BaseEntity.Builder baseBuilder,
ClusterDefaults clusterDefaults,
Compatibilities compatibilities,
Constraints constraints,
Administration administration,
Set<Link> links) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Administration |
getAdministration()
Get administration settings like lease time for managing the cluster.
|
ClusterDefaults |
getClusterDefaults()
Get the
ClusterDefaults that will be used unless the user replaces them at create time. |
Compatibilities |
getCompatibilities()
Get the
Compatibilities for the cluster. |
Constraints |
getConstraints()
Get the constraints that specify how the cluster should be laid out.
|
Set<Link> |
getLinks()
Get immutable set of cluster links to services on the cluster.
|
from, getDescription, getIcon, getLabel, getVersion, hashCode, setVersion, toString
getName
protected ClusterDefaults clusterDefaults
protected Constraints constraints
protected Compatibilities compatibilities
protected Administration administration
protected AbstractTemplate(BaseEntity.Builder baseBuilder, ClusterDefaults clusterDefaults, Compatibilities compatibilities, Constraints constraints, Administration administration, Set<Link> links)
public Compatibilities getCompatibilities()
Compatibilities
for the cluster.Compatibilities
for the cluster.public Constraints getConstraints()
Constraints
specifying how the cluster should be laid out.public ClusterDefaults getClusterDefaults()
ClusterDefaults
that will be used unless the user replaces them at create time.ClusterDefaults
for the template.public Administration getAdministration()
public Set<Link> getLinks()
public boolean equals(Object o)
equals
in class BaseEntity
Copyright © 2013-2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.