
org.wildfly.plugin.dev.ResourceHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wildfly-maven-plugin Show documentation
Show all versions of wildfly-maven-plugin Show documentation
A maven plugin that allows various management operations to be executed on WildFly Application
Server.
/*
* Copyright The WildFly Authors
* SPDX-License-Identifier: Apache-2.0
*/
package org.wildfly.plugin.dev;
import java.io.IOException;
import java.nio.file.Path;
import java.nio.file.WatchEvent;
/**
* @author James R. Perkins
*/
class ResourceHandler implements WatchHandler {
@Override
public Result handle(final WatchContext context, final WatchEvent event, final Path file) throws IOException {
return new Result() {
@Override
public boolean requiresCopyResources() {
return true;
}
@Override
public boolean requiresRepackage() {
return true;
}
@Override
public boolean requiresRedeploy() {
return true;
}
};
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy