Package com.hybris.cockpitng.modules
Class ModuleEntry
- java.lang.Object
-
- com.hybris.cockpitng.modules.ModuleEntry
-
public class ModuleEntry extends java.lang.ObjectA cockpit module description, containing all necessary info to access a cockpit module.
-
-
Constructor Summary
Constructors Constructor Description ModuleEntry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetLabel()java.util.Collection<java.lang.String>getParentModuleUrls()java.lang.StringgetUrl()booleanisAlive()booleanisEnabled()booleanisUpToDate()voidsetAlive(boolean alive)voidsetEnabled(boolean enabled)Corresponding setter forisEnabled().voidsetLabel(java.lang.String label)Corresponding setter forgetLabel().voidsetParentModuleUrls(java.util.Collection<java.lang.String> parentModuleUrls)voidsetUpToDate(boolean isUpToDate)voidsetUrl(java.lang.String url)Corresponding setter forgetUrl().
-
-
-
Method Detail
-
getUrl
public java.lang.String getUrl()
- Returns:
- The url where the module descriptor can be accessed.
-
setUrl
public void setUrl(java.lang.String url)
Corresponding setter forgetUrl().
-
isEnabled
public boolean isEnabled()
- Returns:
- True, if the module should be enabled.
-
setEnabled
public void setEnabled(boolean enabled)
Corresponding setter forisEnabled().
-
getLabel
public java.lang.String getLabel()
- Returns:
- The display label for the module.
-
setLabel
public void setLabel(java.lang.String label)
Corresponding setter forgetLabel().
-
isAlive
public boolean isAlive()
- Returns:
- true if service/module is alive
-
setAlive
public void setAlive(boolean alive)
- Parameters:
alive- the alive flag to set
-
isUpToDate
public boolean isUpToDate()
- Returns:
- true if service is up to date
-
setUpToDate
public void setUpToDate(boolean isUpToDate)
- Parameters:
isUpToDate- setter for up to date flag
-
getParentModuleUrls
public java.util.Collection<java.lang.String> getParentModuleUrls()
- Returns:
- collection of parent modules i.e. all modules that should preceede the current module in case of in-order processing.
-
setParentModuleUrls
public void setParentModuleUrls(java.util.Collection<java.lang.String> parentModuleUrls)
- Parameters:
parentModuleUrls- collection of parent modules urls i.e. all modules that should preceede the current module in case of in-order processing.
-
-