Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  * Copyright 2013 Thomas Asel.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *      http://www.apache.org/licenses/LICENSE-2.0
  *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package de.thomasasel.jsf.inspector;
Encapsulates the data gathered during a Lifecycle run.

Author(s):
Thomas Asel
public class InspectionResults {
    
    // Collection of component data
    private Map<ComponentTypeList<String>> components;
    // Collection of composite data
    private Map<ComponentTypeList<String>> composites;
    // Array of results describing each phase
    private PhaseResult[] phaseResults;

  
Returns mapping of ComponentType and a List of Client-Ids.

Returns:
Map<ComponentType, List<String>> collection describing composites found in component tree.
    public Map<ComponentTypeList<String>> getComposites() {
        return ;
    }
    
    
Returns mapping of ComponentType and a List of Client-Ids.

Returns:
Map<ComponentType, List<String>> collection describing composites found in component tree.
    public Map<ComponentTypeList<String>> getComponents() {
        return ;
    }

    
Returns an array of PhaseResult

Returns:
    public PhaseResult[] getPhaseResults() {
        return ;
    }
    public void setComponents(Map<ComponentTypeList<String>> components) {
        this. = components;
    }
    public void setComposites(Map<ComponentTypeList<String>> composites) {
        this. = composites;
    }
    public void setPhaseResults(PhaseResult[] phaseResults) {
        this. = phaseResults;
    }
    
    @Override
    public int hashCode() {
        int hash = 3;
        return hash;
    }
    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final InspectionResults other = (InspectionResultsobj;
        if (this. != other.components && (this. == null || !this..equals(other.components))) {
            return false;
        }
        if (this. != other.composites && (this. == null || !this..equals(other.composites))) {
            return false;
        }
        return true;
    }
New to GrepCode? Check out our FAQ X