boolean function ( ) { return context . isFocusOnClusterBuild ( ) && isHostAssigned ( ) ; }
checks whether the cluster preview command is available or not . concode_field_sep Map<String,List<String>> hostGroups concode_elem_sep AmbariContext context concode_elem_sep AmbariClient client concode_elem_sep FlashService flashService concode_field_sep String buildCluster concode_elem_sep boolean isHostAssigned concode_elem_sep String deleteCluster concode_elem_sep void deleteCluster concode_elem_sep boolean isAssignCommandAvailable concode_elem_sep String autoAssign concode_elem_sep void createNewHostGroups concode_elem_sep String showAssignments concode_elem_sep boolean isCreateClusterCommandAvailable concode_elem_sep boolean isDeleteClusterCommandAvailable concode_elem_sep void reset concode_elem_sep boolean isClusterBuildCommandAvailable concode_elem_sep boolean addHostToGroup concode_elem_sep String createCluster concode_elem_sep boolean isClusterAutoAssignAvailable concode_elem_sep boolean isClusterResetCommandAvailable concode_elem_sep String assign