Package gcodeCompiler.util
Class Tool
java.lang.Object
gcodeCompiler.util.Tool
public class Tool
extends java.lang.Object
The Class Tool.
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
toolConfiguration
The tool configuration.private java.lang.String
toolSelection
The tool selection. -
Constructor Summary
Constructors Constructor Description Tool(java.lang.String toolSelection, java.lang.String toolConfiguration)
Instantiates a new tool. -
Method Summary
Modifier and Type Method Description java.lang.String
getToolConfiguration()
Gets the tool configuration.java.lang.String
getToolSelection()
Gets the tool selection.void
setToolConfiguration(java.lang.String toolConfiguration)
Sets the tool configuration.void
setToolSelection(java.lang.String toolSelection)
Sets the tool selection.java.lang.String
toolToString()
Tool to string.java.lang.String
toString()
To string.
-
Field Details
-
toolSelection
private java.lang.String toolSelectionThe tool selection. -
toolConfiguration
private java.lang.String toolConfigurationThe tool configuration.
-
-
Constructor Details
-
Tool
public Tool(java.lang.String toolSelection, java.lang.String toolConfiguration)Instantiates a new tool.- Parameters:
toolSelection
- the tool selectiontoolConfiguration
- the tool configuration
-
-
Method Details
-
getToolSelection
public java.lang.String getToolSelection()Gets the tool selection.- Returns:
- the tool selection
-
setToolSelection
public void setToolSelection(java.lang.String toolSelection)Sets the tool selection.- Parameters:
toolSelection
- the new tool selection
-
getToolConfiguration
public java.lang.String getToolConfiguration()Gets the tool configuration.- Returns:
- the tool configuration
-
setToolConfiguration
public void setToolConfiguration(java.lang.String toolConfiguration)Sets the tool configuration.- Parameters:
toolConfiguration
- the new tool configuration
-
toolToString
public java.lang.String toolToString()Tool to string.- Returns:
- the string
-
toString
public java.lang.String toString()To string.- Overrides:
toString
in classjava.lang.Object
- Returns:
- the string
-