You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2011/11/02 03:30:31 UTC
svn commit: r1196437 -
/myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-annotations/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/builder/annotation/JSFFaceletFunction.java
Author: lu4242
Date: Wed Nov 2 02:30:31 2011
New Revision: 1196437
URL: http://svn.apache.org/viewvc?rev=1196437&view=rev
Log:
MYFACES-3381 Add @JSFFaceletFunction annotation
Added:
myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-annotations/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/builder/annotation/JSFFaceletFunction.java (with props)
Added: myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-annotations/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/builder/annotation/JSFFaceletFunction.java
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-annotations/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/builder/annotation/JSFFaceletFunction.java?rev=1196437&view=auto
==============================================================================
--- myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-annotations/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/builder/annotation/JSFFaceletFunction.java (added)
+++ myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-annotations/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/builder/annotation/JSFFaceletFunction.java Wed Nov 2 02:30:31 2011
@@ -0,0 +1,78 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.myfaces.buildtools.maven2.plugin.builder.annotation;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+/**
+ *
+ * @author Leonardo Uribe
+ * @since 1.0.9
+ *
+ */
+@Documented
+@Target(ElementType.TYPE)
+@Retention(RetentionPolicy.SOURCE)
+public @interface JSFFaceletFunction
+{
+ /**
+ * The name of the component in a page (ex: x:mycomp).
+ *
+ * @since 1.0.9
+ */
+ String name() default "";
+
+ /**
+ * Short description
+ *
+ * @since 1.0.9
+ */
+ String desc() default "";
+
+ /**
+ * Long description. By default, it takes what is inside comment area.
+ *
+ * @since 1.0.9
+ */
+ String longDescription() default "";
+
+ /**
+ *
+ *
+ * @since 1.0.9
+ */
+ String signature() default "";
+
+ /**
+ *
+ * @return
+ */
+ String declaredSignature() default "";
+
+ /**
+ * The fully-qualified-name of a concrete class implementing the called method.
+ *
+ * @since 1.0.9
+ */
+ String clazz() default "";
+}
Propchange: myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-annotations/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/builder/annotation/JSFFaceletFunction.java
------------------------------------------------------------------------------
svn:eol-style = native