View Javadoc

1   /*
2    * $Id: PluginDescriptor.java 22153 2011-06-08 20:29:01Z aperepel $
3    * --------------------------------------------------------------------------------------
4    * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
5    *
6    * The software in this package is published under the terms of the CPAL v1.0
7    * license, a copy of which has been included with this distribution in the
8    * LICENSE.txt file.
9    */
10  
11  package org.mule.module.launcher.plugin;
12  
13  import org.mule.module.launcher.descriptor.ApplicationDescriptor;
14  
15  import java.util.HashSet;
16  import java.util.Set;
17  
18  public class PluginDescriptor
19  {
20      private Set<String> loaderOverride = new HashSet<String>();
21      private ApplicationDescriptor appDescriptor;
22      private String name;
23      private PluginClasspath classpath = new PluginClasspath();
24  
25      public Set<String> getLoaderOverride()
26      {
27          return loaderOverride;
28      }
29  
30      public void setLoaderOverride(Set<String> loaderOverride)
31      {
32          this.loaderOverride = loaderOverride;
33      }
34  
35      public ApplicationDescriptor getAppDescriptor()
36      {
37          return appDescriptor;
38      }
39  
40      public void setAppDescriptor(ApplicationDescriptor appDescriptor)
41      {
42          this.appDescriptor = appDescriptor;
43      }
44  
45      public String getName()
46      {
47          return name;
48      }
49  
50      public void setName(String name)
51      {
52          this.name = name;
53      }
54  
55      public PluginClasspath getClasspath()
56      {
57          return classpath;
58      }
59  
60      public void setClasspath(PluginClasspath classpath)
61      {
62          this.classpath = classpath;
63      }
64  }