com.ibm.ram.policy
Class ArtifactResultDetail

java.lang.Object
  extended by com.ibm.ram.policy.ResultDetail
      extended by com.ibm.ram.policy.ArtifactResultDetail

public class ArtifactResultDetail
extends ResultDetail

Represents a compliance test result detail at the asset artifact level

Since:
7.0.0.1

Field Summary
 
Fields inherited from class com.ibm.ram.policy.ResultDetail
ERROR, INFO, PENDING, WARNING
 
Constructor Summary
ArtifactResultDetail()
          Default Constructor
ArtifactResultDetail(Artifact artifact, int returnCode, java.lang.String message)
           
ArtifactResultDetail(java.lang.String name, java.lang.String path, int returnCode, java.lang.String message)
           
 
Method Summary
 java.lang.String getName()
          Get the name of the artifact
 java.lang.String getPath()
          Return the path in the asset to the artifact
 void setName(java.lang.String name)
          Set the name of the artifact
 void setPath(java.lang.String path)
          Set the path to the artifact in the asset
 
Methods inherited from class com.ibm.ram.policy.ResultDetail
deserialize, getMessage, getReturnCode, serialize, setMessage, setReturnCode, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ArtifactResultDetail

public ArtifactResultDetail(Artifact artifact,
                            int returnCode,
                            java.lang.String message)
Parameters:
artifactDetail - The artifact this ResultDetail references
returnCode - The return code from the policy
message - The result message from the policy
Since:
7.0.0.1

ArtifactResultDetail

public ArtifactResultDetail(java.lang.String name,
                            java.lang.String path,
                            int returnCode,
                            java.lang.String message)
Parameters:
name - The name of the artifact this ResultDetail references
path - The path of the artifact this ResultDetail references
returnCode - The return code from the policy
message - The result message from the policy
Since:
7.1.1

ArtifactResultDetail

public ArtifactResultDetail()
Default Constructor

Since:
7.0.0.1
Method Detail

getName

public java.lang.String getName()
Get the name of the artifact

Returns:
The name of the artifact
Since:
7.0.0.1

setName

public void setName(java.lang.String name)
Set the name of the artifact

Parameters:
name - The name of the artifact
Since:
7.0.0.1

getPath

public java.lang.String getPath()
Return the path in the asset to the artifact

Returns:
The path of the artifact
Since:
7.0.0.1

setPath

public void setPath(java.lang.String path)
Set the path to the artifact in the asset

Parameters:
path - The path of the artifact
Since:
7.0.0.1