org.whitesource.agent.api.dispatch
Class CheckPoliciesResult

java.lang.Object
  extended by org.whitesource.agent.api.dispatch.CheckPoliciesResult
All Implemented Interfaces:
Serializable

public class CheckPoliciesResult
extends Object
implements Serializable

Result of the check policies operation.

Since:
1.2.0
Author:
Edo.Shor
See Also:
Serialized Form

Constructor Summary
CheckPoliciesResult()
          Default constructor
CheckPoliciesResult(String organization)
          Constructor
 
Method Summary
 Map<String,PolicyCheckResourceNode> getExistingProjects()
           
 Map<String,PolicyCheckResourceNode> getNewProjects()
           
 String getOrganization()
           
 Map<String,Collection<ResourceInfo>> getProjectNewResources()
           
 boolean hasRejections()
           
 void setExistingProjects(Map<String,PolicyCheckResourceNode> existingProjects)
           
 void setNewProjects(Map<String,PolicyCheckResourceNode> newProjects)
           
 void setOrganization(String organization)
           
 void setProjectNewResources(Map<String,Collection<ResourceInfo>> projectNewResources)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CheckPoliciesResult

public CheckPoliciesResult()
Default constructor


CheckPoliciesResult

public CheckPoliciesResult(String organization)
Constructor

Parameters:
organization - Name of the domain.
Method Detail

hasRejections

public boolean hasRejections()
Returns:
True if some project in this result have some rejected dependency.

getOrganization

public String getOrganization()

setOrganization

public void setOrganization(String organization)

getNewProjects

public Map<String,PolicyCheckResourceNode> getNewProjects()

setNewProjects

public void setNewProjects(Map<String,PolicyCheckResourceNode> newProjects)

getExistingProjects

public Map<String,PolicyCheckResourceNode> getExistingProjects()

setExistingProjects

public void setExistingProjects(Map<String,PolicyCheckResourceNode> existingProjects)

getProjectNewResources

public Map<String,Collection<ResourceInfo>> getProjectNewResources()

setProjectNewResources

public void setProjectNewResources(Map<String,Collection<ResourceInfo>> projectNewResources)


Copyright © 2011-2012 White Source. All Rights Reserved.