public class ConfiguredFragmentDeclaration extends Object implements FragmentDeclaration
Constructor and Description |
---|
ConfiguredFragmentDeclaration() |
Modifier and Type | Method and Description |
---|---|
String |
getManifestLocation()
Gets the fragment manifest location.
|
Map<String,ConfiguredModule> |
getModules()
Gets the configured modules of this configured fragment.
|
String |
getName()
Gets the fragment name.
|
Map<String,Object> |
getRoutes()
Gets the configured routes of this configured fragment.
|
Map<String,String> |
getVars()
Gets the variables of this fragment.
|
boolean |
isEnabled()
Gets the fragment status.
|
Boolean |
isIgnore()
Gets the fragment ignore status.
|
Boolean |
isOptional()
Gets the fragment optional status.
|
Boolean |
isPreload()
Gets the fragment preload status.
|
void |
setEnabled(boolean enabled)
Sets the fragment status.
|
void |
setIgnore(Boolean ignore)
Sets the fragment ignore status.
|
void |
setManifestLocation(String manifestLocation)
Sets the fragment manifest location.
|
void |
setModules(Map<String,ConfiguredModule> modules)
Sets the configured modules of this configured fragment.
|
void |
setName(String name)
Sets the name of the fragment.
|
void |
setOptional(Boolean optional)
Sets the fragment optional status.
|
void |
setPreload(Boolean preload)
Sets the fragment preload status.
|
void |
setRoutes(Map<String,Object> routes)
Sets the configured routes of this configured fragment
|
void |
setVars(Map<String,String> vars)
Sets the variables of this fragment.
|
public String getName()
FragmentDeclaration
getName
in interface FragmentDeclaration
public void setName(String name)
name
- the fragment name.public Map<String,ConfiguredModule> getModules()
ConfiguredModule
keyed by their name.public void setModules(Map<String,ConfiguredModule> modules)
modules
- a map of ConfiguredModule
keyed by their name.public Map<String,Object> getRoutes()
public void setRoutes(Map<String,Object> routes)
routes
- a map of raw JSON objects.public Map<String,String> getVars()
public void setVars(Map<String,String> vars)
vars
- the map of fragment variables keyed by their name.public boolean isEnabled()
public void setEnabled(boolean enabled)
enabled
- the value to set.public Boolean isPreload()
public void setPreload(Boolean preload)
preload
- the value to set.public String getManifestLocation()
public void setManifestLocation(String manifestLocation)
manifestLocation
- the resource path to set.public Boolean isOptional()
public void setOptional(Boolean optional)
optional
- true to set the fragment as optional, false otherwise.public Boolean isIgnore()
public void setIgnore(Boolean ignore)
ignore
- true to set the fragment as ignored, false otherwise.Copyright © 2013-2018–2019 SeedStack. All rights reserved.