View Javadoc

1   /*
2    * Copyright 2008 Metastratus Web Solutions Limited. All Rights Reserved.
3    *
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    *    http://www.apache.org/licenses/LICENSE-2.0
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package com.fatwire.gst.foundation.facade.runtag.asset;
17  
18  import com.fatwire.gst.foundation.facade.runtag.render.TagRunnerWithRenderArguments;
19  
20  /**
21   * @author David Chesebro
22   * @since 3/16/12
23   */
24  public class AssetGather extends TagRunnerWithRenderArguments
25  {
26      public AssetGather(final String name, final String prefix, final String fieldlist) {
27          super("ASSET.GATHER");
28          set("NAME", name);
29          set("PREFIX", prefix);
30          set("FIELDLIST", fieldlist);
31      }
32  
33      public AssetGather(final String name, final String prefix, final boolean exclude) {
34          super("ASSET.GATHER");
35          set("NAME", name);
36          set("PREFIX", prefix);
37          set("EXCLUDE", exclude);
38      }
39  }