Package fish.payara.boot.runtime
Class BootCommands
- java.lang.Object
-
- fish.payara.boot.runtime.BootCommands
-
public class BootCommands extends Object
Class to hold a list of Boot Commands for execution- Author:
- Steve Millidge
-
-
Constructor Summary
Constructors Constructor Description BootCommands()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(BootCommand command)
boolean
executeCommands(CommandRunner runner)
boolean
executeCommands(CommandRunner runner, boolean stopOnFailure)
List<BootCommand>
getCommands()
void
parseCommandScript(File file)
void
parseCommandScript(URL scriptURL)
-
-
-
Method Detail
-
add
public void add(BootCommand command)
-
getCommands
public List<BootCommand> getCommands()
-
parseCommandScript
public void parseCommandScript(File file) throws IOException
- Throws:
IOException
-
parseCommandScript
public void parseCommandScript(URL scriptURL) throws IOException
- Throws:
IOException
-
executeCommands
public boolean executeCommands(CommandRunner runner)
-
executeCommands
public boolean executeCommands(CommandRunner runner, boolean stopOnFailure)
-
-