public interface PatchingTask
Modifier and Type | Interface and Description |
---|---|
static class |
PatchingTask.Factory |
Modifier and Type | Method and Description |
---|---|
void |
execute(PatchingTaskContext context)
Execute.
|
ContentItem |
getContentItem()
Get the content item modified by this task.
|
boolean |
isRelevant(PatchingTaskContext context)
Checks whether this task is relevant in the given context or it can be skipped.
|
boolean |
prepare(PatchingTaskContext context)
Prepare the content modification.
|
ContentItem getContentItem()
boolean isRelevant(PatchingTaskContext context) throws PatchingException
context
- patching task contextPatchingException
boolean prepare(PatchingTaskContext context) throws IOException
context
- the patching task contextIOException
void execute(PatchingTaskContext context) throws IOException
context
- the patching contextIOException
Copyright © 2023 JBoss by Red Hat. All rights reserved.