org.wildfly.plugin.dev.CompiledSourceHandler 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;
import org.apache.maven.plugin.MojoExecutionException;
/**
* @author James R. Perkins
*/
class CompiledSourceHandler implements WatchHandler {
@Override
public Result handle(final WatchContext context, final WatchEvent event, final Path file)
throws IOException, MojoExecutionException {
return new Result() {
@Override
public boolean requiresRecompile() {
return true;
}
@Override
public boolean requiresRedeploy() {
return true;
}
@Override
public boolean requiresRepackage() {
return true;
}
};
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy