Modifier and Type | Method and Description |
---|---|
static Resource |
create()
Create a default resource implementation.
|
static Resource |
create(boolean runtimeOnly)
Create a default resource implementation.
|
static Resource |
create(boolean runtimeOnly,
Set<String> orderedChildTypes)
Create a default resource implementation.
|
public static Resource create()
create(false)
.public static Resource create(boolean runtimeOnly)
runtimeOnly
- the value the resource should return from Resource.isRuntime()
public static Resource create(boolean runtimeOnly, Set<String> orderedChildTypes)
runtimeOnly
- the value the resource should return from Resource.isRuntime()
orderedChildTypes
- the names of any child types where the order of the children mattersCopyright © 2023 JBoss by Red Hat. All rights reserved.