Package org.apache.ambari.server.controller.spi.Resource

Examples of org.apache.ambari.server.controller.spi.Resource.Type


      this.sortRequest = sortRequest;
    }

    @Override
    public int compare(Resource resource1, Resource resource2) {
      Type resourceType = resource1.getType();

      // compare based on resource type
      int compVal = resourceType.compareTo(resource2.getType());

      // compare based on requested properties
      if (compVal == 0 && sortRequest != null) {
        for (SortRequestProperty property : sortRequest.getProperties()) {
          compVal = compareValues(
View Full Code Here

TOP

Related Classes of org.apache.ambari.server.controller.spi.Resource.Type

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.