public static enum ModuleFitness.FitnessFeature extends Enum<ModuleFitness.FitnessFeature>
Enum Constant and Description |
---|
HAS_DESCRIPTION
Name of fitness feature determining whether
PepperModule.getDesc() is supported |
HAS_NAME
Name of health feature determining whether a module's name is set.
|
HAS_PASSED_SELFTEST
Name of health feature determining whether the module passes the self
test, if a self test is implemented.
|
HAS_SELFTEST
Name of fitness feature determining whether the module provides a
self test.
|
HAS_SUPPLIER_CONTACT
Name of fitness feature determining whether
PepperModule.getSupplierContact() is supported. |
HAS_SUPPLIER_HP
Name of fitness feature determining whether
PepperModule.getSupplierHomepage() is supported. |
HAS_SUPPORTED_FORMATS
Name of fitness feature determining whether
PepperImporter.getSupportedFormats()
PepperExporter.getSupportedFormats() is supported. |
IS_IMPORTABLE
Name of fitness feature determining whether
PepperImporter.isImportable(org.eclipse.emf.common.util.URI)
is implemented. |
IS_IMPORTABLE_SEFTEST_DATA
Name of health feature determining whether the module is able to
import the self test data, if a self test is implemented and module
is an importer.
|
IS_READY_TO_RUN
Name of health feature determining whether the module is ready to be
ran in Pepper.
|
IS_VALID_SELFTEST_DATA
Name of health feature determining whether the module the self test
data are valid, if a self test is implemented and module is an
importer or a manipulator.
|
Modifier and Type | Method and Description |
---|---|
static Collection<ModuleFitness.FitnessFeature> |
getFitnessFeatures()
Returns the names of the fitness feature.
|
static Collection<ModuleFitness.FitnessFeature> |
getHealthFeatures()
Returns the names of the fitness features taking part at health test.
|
static ModuleFitness.FitnessFeature |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModuleFitness.FitnessFeature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModuleFitness.FitnessFeature HAS_NAME
public static final ModuleFitness.FitnessFeature IS_READY_TO_RUN
public static final ModuleFitness.FitnessFeature HAS_PASSED_SELFTEST
public static final ModuleFitness.FitnessFeature IS_IMPORTABLE_SEFTEST_DATA
public static final ModuleFitness.FitnessFeature IS_VALID_SELFTEST_DATA
public static final ModuleFitness.FitnessFeature HAS_SUPPLIER_CONTACT
PepperModule.getSupplierContact()
is supported.public static final ModuleFitness.FitnessFeature HAS_SUPPLIER_HP
PepperModule.getSupplierHomepage()
is supported.public static final ModuleFitness.FitnessFeature HAS_DESCRIPTION
PepperModule.getDesc()
is supportedpublic static final ModuleFitness.FitnessFeature HAS_SUPPORTED_FORMATS
PepperImporter.getSupportedFormats()
PepperExporter.getSupportedFormats()
is supported. PepperImporter
and PepperExporter
.public static final ModuleFitness.FitnessFeature HAS_SELFTEST
public static final ModuleFitness.FitnessFeature IS_IMPORTABLE
PepperImporter.isImportable(org.eclipse.emf.common.util.URI)
is implemented. PepperImporter
.public static ModuleFitness.FitnessFeature[] values()
for (ModuleFitness.FitnessFeature c : ModuleFitness.FitnessFeature.values()) System.out.println(c);
public static ModuleFitness.FitnessFeature valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static Collection<ModuleFitness.FitnessFeature> getHealthFeatures()
public static Collection<ModuleFitness.FitnessFeature> getFitnessFeatures()
Copyright © 2009–2019 Humboldt-Universität zu Berlin, INRIA. All rights reserved.