All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.customware.confluence.reporting.Outputable Maven / Gradle / Ivy

package net.customware.confluence.reporting;

import org.randombits.facade.Facadable;

@Facadable
public interface Outputable {
    /**
     * Returns the type the output must match.
     * 
     * @return The output type.
     */
    public Class getOutputType();
    
    /**
     * Attempts to add the output to this context. If the output could not be
     * added, false is returned.
     * 
     * @param output
     *            The output to add.
     * @return true if the output was successfully added.
     */
    public boolean addOutput( @Facadable T output );

    /**
     * Returns true if the the context is set to be injected with
     * keychain values before being rendered.
     * 
     * @return true if the output should be injected.
     */
    public boolean isInjected();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy