public class DisableConfigAsset extends Object implements org.jboss.shrinkwrap.api.asset.Asset
| Constructor and Description |
|---|
DisableConfigAsset() |
| Modifier and Type | Method and Description |
|---|---|
DisableConfigAsset |
disable(Class<?> clazz,
Class<? extends Annotation> annotation)
Add config entry to disable an annotation on the given class
|
DisableConfigAsset |
disable(Class<?> clazz,
String method,
Class<? extends Annotation> annotation)
Add config entry to disable an annotation on the given class and method
|
DisableConfigAsset |
disable(Class<? extends Annotation> annotation)
Add config entry to disable an annotation globally
|
DisableConfigAsset |
disableGlobally()
Globally disable Fault Tolerance except Fallback by setting MP_Fault_Tolerance_NonFallback_Enabled to false.
|
DisableConfigAsset |
enable(Class<?> clazz,
Class<? extends Annotation> annotation)
Add config entry to enable an annotation on the given class
|
DisableConfigAsset |
enable(Class<?> clazz,
String method,
Class<? extends Annotation> annotation)
Add config entry to enable an annotation on the given class and method
|
DisableConfigAsset |
enable(Class<? extends Annotation> annotation)
Add config entry to enable an annotation globally
|
Properties |
getProps() |
InputStream |
openStream() |
public Properties getProps()
public InputStream openStream()
openStream in interface org.jboss.shrinkwrap.api.asset.Assetpublic DisableConfigAsset disableGlobally()
public DisableConfigAsset disable(Class<?> clazz, String method, Class<? extends Annotation> annotation)
clazz - the classmethod - the methodannotation - the annotationpublic DisableConfigAsset disable(Class<?> clazz, Class<? extends Annotation> annotation)
clazz - the classannotation - the annotationpublic DisableConfigAsset disable(Class<? extends Annotation> annotation)
annotation - the annotationpublic DisableConfigAsset enable(Class<?> clazz, String method, Class<? extends Annotation> annotation)
clazz - the classmethod - the methodannotation - the annotationpublic DisableConfigAsset enable(Class<?> clazz, Class<? extends Annotation> annotation)
clazz - the classannotation - the annotationpublic DisableConfigAsset enable(Class<? extends Annotation> annotation)
annotation - the annotationCopyright © 2016 – 2022 Eclipse Foundation. All rights reserved.
Use is subject to license terms.