Class Option
- java.lang.Object
-
- org.processmining.plugins.workshop.Yaguang.WekaDiscriminationTree.Option
-
public class Option extends java.lang.ObjectClass to store information about an option.Typical usage:
Option myOption = new Option("Uses extended mode.", "E", 0, "-E"));- Version:
- $Revision: 1.5 $
- Author:
- Eibe Frank (eibe@cs.waikato.ac.nz)
-
-
Constructor Summary
Constructors Constructor Description Option(java.lang.String description, java.lang.String name, int numArguments, java.lang.String synopsis)Creates new option with the given parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringdescription()Returns the option's description.java.lang.Stringname()Returns the option's name.intnumArguments()Returns the option's number of arguments.java.lang.Stringsynopsis()Returns the option's synopsis.
-
-
-
Method Detail
-
description
public java.lang.String description()
Returns the option's description.- Returns:
- the option's description
-
name
public java.lang.String name()
Returns the option's name.- Returns:
- the option's name
-
numArguments
public int numArguments()
Returns the option's number of arguments.- Returns:
- the option's number of arguments
-
synopsis
public java.lang.String synopsis()
Returns the option's synopsis.- Returns:
- the option's synopsis
-
-