Class OfficeFloorIssueTarget
- java.lang.Object
-
- net.officefloor.frame.impl.construct.source.OfficeFloorIssueTarget
-
- All Implemented Interfaces:
IssueTarget
public class OfficeFloorIssueTarget extends java.lang.Object implements IssueTarget
IssueTarget
implementation that adapts to theOfficeFloorIssues
.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description OfficeFloorIssueTarget(OfficeFloorIssues issues, OfficeFloorIssues.AssetType assetType, java.lang.String assetName)
Instantiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addIssue(java.lang.String issueDescription)
Adds the issue.void
addIssue(java.lang.String issueDescription, java.lang.Throwable cause)
Adds the issue.
-
-
-
Constructor Detail
-
OfficeFloorIssueTarget
public OfficeFloorIssueTarget(OfficeFloorIssues issues, OfficeFloorIssues.AssetType assetType, java.lang.String assetName)
Instantiate.- Parameters:
issues
-OfficeFloorIssues
.assetType
-OfficeFloorIssues.AssetType
.assetName
- Name of asset.
-
-
Method Detail
-
addIssue
public void addIssue(java.lang.String issueDescription)
Description copied from interface:IssueTarget
Adds the issue.- Specified by:
addIssue
in interfaceIssueTarget
- Parameters:
issueDescription
- Description of the issue.
-
addIssue
public void addIssue(java.lang.String issueDescription, java.lang.Throwable cause)
Description copied from interface:IssueTarget
Adds the issue.- Specified by:
addIssue
in interfaceIssueTarget
- Parameters:
issueDescription
- Description of the issue.cause
- Cause of the issue.
-
-