Class SystemCommandFactory
- java.lang.Object
-
- com.github.toolarium.system.command.SystemCommandFactory
-
public final class SystemCommandFactory extends java.lang.ObjectDefines the system command factory
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringcreateSleepCommand(int numberOfSeconds)Create a sleep commandstatic SystemCommandFactorygetInstance()Get the instance
-
-
-
Method Detail
-
getInstance
public static SystemCommandFactory getInstance()
Get the instance- Returns:
- the instance
-
createSleepCommand
public java.lang.String createSleepCommand(int numberOfSeconds)
Create a sleep command- Parameters:
numberOfSeconds- the number of seconds- Returns:
- the sleep command
-
-