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.Stringdescription()voidexecute(WXMDryRun dryRun)Execute the step.java.util.List<WXMProcessDescription>processes()java.lang.StringtoString()
-
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:
descriptionin interfaceWXMRealizationStepType- Returns:
- The description of the step
-
processes
- Specified by:
processesin interfaceWXMRealizationStepType- Returns:
- The list of processes that will be executed
-
execute
Description copied from interface:WXMRealizationStepTypeExecute the step.- Specified by:
executein 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:
toStringin classjava.lang.Object
-