$darkmode
| 
    DENOPTIM
    
   | 
 
Represents the behavior of the program at start-up. More...
Public Member Functions | |
| Behavior (RunType runType, CommandLine cmd, int exitStatus, String helpMsg, String errorMsg) | |
| Creates a behavior.  More... | |
| Behavior (RunType runType, CommandLine cmd) | |
| Creates a behavior.  More... | |
Protected Attributes | |
| String | helpMsg = "" | 
| The help message.  More... | |
| String | errorMsg = "" | 
| The error message.  More... | |
| int | exitStatus = 0 | 
| A non-zero value means some error has occurred and the program will terminate.  More... | |
| RunType | runType = null | 
| The type of run that is requested.  More... | |
| CommandLine | cmd = null | 
| The parsed command line arguments.  More... | |
Represents the behavior of the program at start-up.
This class is mostly meant to test the functionality of denoptim's main launcher.
Definition at line 30 of file Behavior.java.
| denoptim.main.Behavior.Behavior | ( | RunType | runType, | 
| CommandLine | cmd, | ||
| int | exitStatus, | ||
| String | helpMsg, | ||
| String | errorMsg | ||
| ) | 
Creates a behavior.
| runType | the type of run. | 
| cmd | the command line arguments for the run. | 
| exitStatus | any non-zero corresponds to an error. | 
| errorMsg | the error message, if any. | 
Definition at line 67 of file Behavior.java.
References denoptim.main.Behavior.cmd, denoptim.main.Behavior.errorMsg, denoptim.main.Behavior.exitStatus, denoptim.main.Behavior.helpMsg, and denoptim.main.Behavior.runType.
| denoptim.main.Behavior.Behavior | ( | RunType | runType, | 
| CommandLine | cmd | ||
| ) | 
Creates a behavior.
| runType | the type of run. | 
| params | the arguments for the run. | 
Definition at line 84 of file Behavior.java.
References denoptim.main.Behavior.cmd, and denoptim.main.Behavior.runType.
      
  | 
  protected | 
The parsed command line arguments.
Definition at line 56 of file Behavior.java.
Referenced by denoptim.main.Behavior.Behavior(), denoptim.main.Main.ensureFileExistsAndIsReadable(), denoptim.main.Main.main(), and denoptim.main.MainTest.testDefineProgramBehavior().
      
  | 
  protected | 
The error message.
Definition at line 40 of file Behavior.java.
Referenced by denoptim.main.Behavior.Behavior(), denoptim.main.Main.reportError(), and denoptim.main.MainTest.testDefineProgramBehavior().
      
  | 
  protected | 
A non-zero value means some error has occurred and the program will terminate.
Definition at line 46 of file Behavior.java.
Referenced by denoptim.main.Behavior.Behavior(), denoptim.main.Main.main(), denoptim.main.Main.reportError(), and denoptim.main.MainTest.testDefineProgramBehavior().
      
  | 
  protected | 
The help message.
Definition at line 35 of file Behavior.java.
Referenced by denoptim.main.Behavior.Behavior(), denoptim.main.Main.main(), denoptim.main.Main.reportError(), and denoptim.main.MainTest.testDefineProgramBehavior().
      
  | 
  protected | 
The type of run that is requested.
Definition at line 51 of file Behavior.java.
Referenced by denoptim.main.Behavior.Behavior(), denoptim.main.Main.ensureFileExistsAndIsReadable(), denoptim.main.Main.main(), and denoptim.main.MainTest.testDefineProgramBehavior().