com.tobedevoured.command.CommandDependency Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of core Show documentation
Show all versions of core Show documentation
Make Java do your bidding by turning any code into an executable
package com.tobedevoured.command;
import java.util.HashSet;
import java.util.Set;
/**
* The Dependencies required to execute a {@link CommandMethod}
*
* Contains functionality for unimplemented Spring support
*
* @author Michael Guymon
*/
public class CommandDependency {
private Class> target;
private Set contexts = new HashSet();
/**
* Get the target Class for the {@link CommandMethod}
*
* @return Class
*/
public Class> getTarget() {
return target;
}
/**
* Set the target Class for the {@link CommandMethod}
*
* @param target Class
*/
public void setTarget(Class> target) {
this.target = target;
}
/**
* Get the {@link Set} of resource paths to Spring contexts
*
* @return {@link Set}
*/
public Set getContexts() {
return contexts;
}
/**
* Set the {@link Set} of resource paths to Spring contexts
*
* @param contexts {@link Set}
*/
public void setContexts(Set contexts) {
this.contexts = contexts;
}
@Override
public String toString() {
return "ExecCommandDependency [target=" + target + ", contexts="
+ contexts + "]";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy