public class SMconf
extends slib.utils.i.Conf
Constructor and Description |
---|
SMconf(String flag)
Build an instance of configuration considering the given flag.
|
SMconf(String flag,
ICconf icConf)
Build an instance of configuration considering the given flag and
Information Content configuration.
|
SMconf(String id,
String flag)
Build an instance of configuration considering the given id and flag.
|
SMconf(String id,
String flag,
ICconf icConf)
Build an instance of configuration considering the given flag and
Information Content configuration.
|
SMconf(String id,
String flag,
String label)
Build an instance of configuration considering the given id, flag and
label.
|
SMconf(String id,
String flag,
String label,
ICconf icConf)
Build an instance of configuration considering the given id, flag and
Information Content configuration.
|
Modifier and Type | Method and Description |
---|---|
SMconf |
addParam(String p,
Object v)
Add the parameter to the configuration - override existing value if the
parameter already exists.
|
String |
getClassName() |
String |
getFlag() |
ICconf |
getIcConf() |
ICconf |
getICconf()
The IC configuration associated to the configuration.
|
String |
getId() |
String |
getLabel() |
void |
setICconf(ICconf ic)
Mutator of the IC configuration.
|
void |
setLabel(String label) |
String |
toString() |
public SMconf(String flag) throws slib.utils.ex.SLIB_Ex_Critic
flag
- the string which defines the measure associated to the
configuration.slib.utils.ex.SLIB_Ex_Critic
public SMconf(String id, String flag) throws slib.utils.ex.SLIB_Ex_Critic
id
- the id of the configuration (expected to be unique).flag
- the string which defines the measure associated to the
configuration.slib.utils.ex.SLIB_Ex_Critic
public SMconf(String id, String flag, String label) throws slib.utils.ex.SLIB_Ex_Critic
id
- the id of the configuration (expected to be unique).flag
- the string which defines the measure associated to the
configuration.label
- the label associated to the configuration.slib.utils.ex.SLIB_Ex_Critic
public SMconf(String flag, ICconf icConf) throws slib.utils.ex.SLIB_Ex_Critic
flag
- the flag defining the semantic measure method associated to
the configuration.icConf
- the IC configuration associated to the configurationslib.utils.ex.SLIB_Ex_Critic
public SMconf(String id, String flag, ICconf icConf) throws slib.utils.ex.SLIB_Ex_Critic
id
- the id of the configuration (must be unique).flag
- the flag defining the semantic measure method associated to
the configuration.icConf
- the IC configuration associated to the configurationslib.utils.ex.SLIB_Ex_Critic
public SMconf(String id, String flag, String label, ICconf icConf) throws slib.utils.ex.SLIB_Ex_Critic
id
- the id of the configuration (must be unique).flag
- the flag defining the semantic measure method associated to
the configuration.label
- the label associated to the configurationicConf
- the IC configuration associated to the configurationslib.utils.ex.SLIB_Ex_Critic
public ICconf getICconf()
public void setICconf(ICconf ic)
ic
- the new IC configuration to considerpublic String toString()
toString
in class slib.utils.i.Conf
public SMconf addParam(String p, Object v)
addParam
in class slib.utils.i.Conf
p
- the parameter keyv
- the value associatedpublic String getId()
public String getFlag()
public String getClassName()
public String getLabel()
public void setLabel(String label)
label
- the new labelpublic ICconf getIcConf()
Copyright © 2014. All rights reserved.