Interface ResourceTypePackage<T>
-
- All Superinterfaces:
Iterable<T>,Serializable
public interface ResourceTypePackage<T> extends Iterable<T>, Serializable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidadd(T element)ResourceTypegetResourceType()default booleanremoveResource(Resource resource)Remove artifacts inside this ResourceTypePackage which belong to the resource passed as parameter.-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
-
-
-
Method Detail
-
getResourceType
ResourceType getResourceType()
-
removeResource
default boolean removeResource(Resource resource)
Remove artifacts inside this ResourceTypePackage which belong to the resource passed as parameter. Concrete implementation of this interface shall extend this method in order to properly support incremental KieContainer updates.- Parameters:
resource-- Returns:
- true if this ResourceTypePackage mutated as part of this method invocation.
-
add
void add(T element)
-
-