@Test public void testGetBuild() throws Exception { ViewEntity viewDefinition = getViewEntity(); Assert.assertEquals("99", viewDefinition.getBuild()); }
@Override public String getBuild() { return build; }
ViewEntity implements ViewDefinition { @Override public String getBuild() { return build; } }
ViewEntity implements ViewDefinition { @Override public String getBuild() { return build; } ViewEntity();  ViewEntity(ViewConfig configuration, Configuration ambariConfiguration,
                    String archivePath); }
ViewEntity implements ViewDefinition { @Override public String getBuild() { return build; } ViewEntity();  ViewEntity(ViewConfig configuration, Configuration ambariConfiguration,
                    String archivePath); @Override String getViewName(); @Override String getLabel(); @Override String getDescription(); @Override String getVersion(); @Override String getBuild(); @Override ViewStatus getStatus(); @Override String getStatusDetail(); @Override String getMask(); String getName(); void setName(String name); synchronized String getCommonName(); void setLabel(String label); void setDescription(String description); void setVersion(String version); void setBuild(String build); String getIcon(); void setIcon(String icon); String getIcon64(); void setIcon64(String icon64); Collection<ViewParameterEntity> getParameters(); void setParameters(Collection<ViewParameterEntity> parameters); Collection<PermissionEntity> getPermissions(); void setPermissions(Collection<PermissionEntity> permissions); PermissionEntity getPermission(String permissionName); Collection<ViewResourceEntity> getResources(); void setResources(Collection<ViewResourceEntity> resources); Collection<ViewInstanceEntity> getInstances(); void setInstances(Collection<ViewInstanceEntity> instances); void addInstanceDefinition(ViewInstanceEntity viewInstanceDefinition); void removeInstanceDefinition(String instanceName); ViewInstanceEntity getInstanceDefinition(String instanceName); String getArchive(); void setArchive(String archive); String getAmbariProperty(String key); Configuration getAmbariConfiguration(); String getQualifiedResourceTypeName(String resourceTypeName); Resource.Type getExternalResourceType(); ClassLoader getClassLoader(); void setClassLoader(ClassLoader classLoader); void addResourceProvider(Resource.Type type, ResourceProvider provider); ResourceProvider getResourceProvider(Resource.Type type); void addResourceDefinition(ViewSubResourceDefinition definition); ViewSubResourceDefinition getResourceDefinition(Resource.Type type); Map<Resource.Type, ViewSubResourceDefinition> getResourceDefinitions(); void addResourceConfiguration(Resource.Type type, ResourceConfig config); Map<Resource.Type, ResourceConfig> getResourceConfigurations(); Set<Resource.Type> getViewResourceTypes(); void setConfiguration(ViewConfig configuration); ViewConfig getConfiguration(); void setView(View view); View getView(); void setValidator(Validator validator); Validator getValidator(); boolean hasValidator(); void setMask(String mask); boolean isSystem(); void setSystem(boolean required); ResourceTypeEntity getResourceType(); void setResourceType(ResourceTypeEntity resourceType); void setStatus(ViewStatus status); void setStatusDetail(String statusDetail); boolean isClusterConfigurable(); boolean isDeployed(); static String getViewName(String name, String version); }
ViewEntity implements ViewDefinition { @Override public String getBuild() { return build; } ViewEntity();  ViewEntity(ViewConfig configuration, Configuration ambariConfiguration,
                    String archivePath); @Override String getViewName(); @Override String getLabel(); @Override String getDescription(); @Override String getVersion(); @Override String getBuild(); @Override ViewStatus getStatus(); @Override String getStatusDetail(); @Override String getMask(); String getName(); void setName(String name); synchronized String getCommonName(); void setLabel(String label); void setDescription(String description); void setVersion(String version); void setBuild(String build); String getIcon(); void setIcon(String icon); String getIcon64(); void setIcon64(String icon64); Collection<ViewParameterEntity> getParameters(); void setParameters(Collection<ViewParameterEntity> parameters); Collection<PermissionEntity> getPermissions(); void setPermissions(Collection<PermissionEntity> permissions); PermissionEntity getPermission(String permissionName); Collection<ViewResourceEntity> getResources(); void setResources(Collection<ViewResourceEntity> resources); Collection<ViewInstanceEntity> getInstances(); void setInstances(Collection<ViewInstanceEntity> instances); void addInstanceDefinition(ViewInstanceEntity viewInstanceDefinition); void removeInstanceDefinition(String instanceName); ViewInstanceEntity getInstanceDefinition(String instanceName); String getArchive(); void setArchive(String archive); String getAmbariProperty(String key); Configuration getAmbariConfiguration(); String getQualifiedResourceTypeName(String resourceTypeName); Resource.Type getExternalResourceType(); ClassLoader getClassLoader(); void setClassLoader(ClassLoader classLoader); void addResourceProvider(Resource.Type type, ResourceProvider provider); ResourceProvider getResourceProvider(Resource.Type type); void addResourceDefinition(ViewSubResourceDefinition definition); ViewSubResourceDefinition getResourceDefinition(Resource.Type type); Map<Resource.Type, ViewSubResourceDefinition> getResourceDefinitions(); void addResourceConfiguration(Resource.Type type, ResourceConfig config); Map<Resource.Type, ResourceConfig> getResourceConfigurations(); Set<Resource.Type> getViewResourceTypes(); void setConfiguration(ViewConfig configuration); ViewConfig getConfiguration(); void setView(View view); View getView(); void setValidator(Validator validator); Validator getValidator(); boolean hasValidator(); void setMask(String mask); boolean isSystem(); void setSystem(boolean required); ResourceTypeEntity getResourceType(); void setResourceType(ResourceTypeEntity resourceType); void setStatus(ViewStatus status); void setStatusDetail(String statusDetail); boolean isClusterConfigurable(); boolean isDeployed(); static String getViewName(String name, String version); static final String AMBARI_ONLY; }