Class WXMFileCheck
java.lang.Object
com.io7m.waxmill.realize.internal.WXMFileCheck
- All Implemented Interfaces:
WXMRealizationStepType
public final class WXMFileCheck extends java.lang.Object implements WXMRealizationStepType
-
Constructor Summary
Constructors Constructor Description WXMFileCheck(WXMRealizeMessages inMessages, WXMDeviceSlot inSlot, java.util.UUID inMachineId, java.nio.file.Path inFile)
-
Method Summary
Modifier and Type Method Description java.lang.String
description()
void
execute(WXMDryRun dryRun)
Execute the step.java.util.List<WXMProcessDescription>
processes()
java.lang.String
toString()
-
Constructor Details
-
WXMFileCheck
public WXMFileCheck(WXMRealizeMessages inMessages, WXMDeviceSlot inSlot, java.util.UUID inMachineId, java.nio.file.Path inFile)
-
-
Method Details
-
description
public java.lang.String description()- Specified by:
description
in interfaceWXMRealizationStepType
- Returns:
- The description of the step
-
processes
- Specified by:
processes
in interfaceWXMRealizationStepType
- Returns:
- The list of processes that will be executed
-
execute
Description copied from interface:WXMRealizationStepType
Execute the step.- Specified by:
execute
in interfaceWXMRealizationStepType
- Parameters:
dryRun
- A specification of whether this is a dry run or not- Throws:
WXMException
- On errors
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-