Skip to content

Commit

Permalink
Added Deprecated annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
VineetReynolds committed Mar 11, 2014
1 parent ee95158 commit 7c20ae4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,6 @@ public interface TemplateProcessorFactory
* @param template The template for which the processor is to be created
* @return A {@link TemplateProcessor} instance
*/
@Deprecated
TemplateProcessor fromTemplate(Resource template);
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

package org.jboss.forge.addon.templates;

import org.jboss.forge.addon.resource.Resource;

import java.io.IOException;
import java.io.StringWriter;
import java.io.Writer;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
*/
package org.jboss.forge.addon.templates;

import org.jboss.forge.addon.resource.Resource;

import java.io.IOException;
import java.io.Writer;

Expand All @@ -26,6 +28,7 @@ public interface TemplateGenerator
*
* @deprecated Deprecated after Forge 2.1.1. Use the {@link Template} accepting method instead.
*/
@Deprecated
public boolean handles(Resource template);

/**
Expand All @@ -40,5 +43,6 @@ public interface TemplateGenerator
*
* @deprecated Deprecated after Forge 2.1.1. Use the {@link Template} accepting method instead.
*/
@Deprecated
public void process(Object dataModel, Resource template, Writer writer) throws IOException;
}

0 comments on commit 7c20ae4

Please sign in to comment.