directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r373028 - /directory/trunks/apacheds/standalone/installers/plugin/src/main/java/org/apache/directory/server/standalone/installers/Application.java
Date Fri, 27 Jan 2006 23:24:31 GMT
Author: akarasulu
Date: Fri Jan 27 15:24:29 2006
New Revision: 373028

URL: http://svn.apache.org/viewcvs?rev=373028&view=rev
Log:
new application configuration bean

Added:
    directory/trunks/apacheds/standalone/installers/plugin/src/main/java/org/apache/directory/server/standalone/installers/Application.java
  (with props)

Added: directory/trunks/apacheds/standalone/installers/plugin/src/main/java/org/apache/directory/server/standalone/installers/Application.java
URL: http://svn.apache.org/viewcvs/directory/trunks/apacheds/standalone/installers/plugin/src/main/java/org/apache/directory/server/standalone/installers/Application.java?rev=373028&view=auto
==============================================================================
--- directory/trunks/apacheds/standalone/installers/plugin/src/main/java/org/apache/directory/server/standalone/installers/Application.java
(added)
+++ directory/trunks/apacheds/standalone/installers/plugin/src/main/java/org/apache/directory/server/standalone/installers/Application.java
Fri Jan 27 15:24:29 2006
@@ -0,0 +1,223 @@
+package org.apache.directory.server.standalone.installers;
+
+
+import java.io.File;
+import java.util.Calendar;
+import java.util.List;
+
+
+public class Application
+{
+    /**
+     * @parameter 
+     * @required
+     */
+    private String name;
+    
+    /** 
+     * @parameter
+     */
+    private String description;
+
+    /** 
+     * @parameter
+     */
+    private String company;
+
+    /** 
+     * @parameter
+     */
+    private String email;
+
+    /**
+     * @parameter expression="${project.url}"
+     */
+    private String url;
+    
+    /**
+     * @parameter expression="${project.version}"
+     */
+    private String version;
+
+    /** 
+     * @parameter
+     */
+    private String minimumJavaVersion;
+
+    /** 
+     * @parameter
+     */
+    private String copyrightYear;
+
+    /** 
+     * @parameter
+     */
+    private List authors;
+    
+    /**
+     * @parameter expression="src/main/installers/logo.ico"
+     */
+    private File icon;
+
+    /**
+     * @parameter expression="README.txt"
+     */
+    private File readme;
+    
+    /**
+     * @parameter expression="LICENSE.txt"
+     */
+    private File license;
+    
+
+    Application()
+    {
+        Calendar cal = Calendar.getInstance();
+        cal.setTimeInMillis( System.currentTimeMillis() );
+        setCopyrightYear( String.valueOf( cal.get( Calendar.YEAR ) ) );
+    }
+
+
+    public void setCopyrightYear(String copyrightYear)
+    {
+        this.copyrightYear = copyrightYear;
+    }
+
+
+    public String getCopyrightYear()
+    {
+        return copyrightYear;
+    }
+
+
+    public void setLicense(File license)
+    {
+        this.license = license;
+    }
+
+
+    public File getLicense()
+    {
+        return license;
+    }
+
+
+    public void setReadme(File readme)
+    {
+        this.readme = readme;
+    }
+
+
+    public File getReadme()
+    {
+        return readme;
+    }
+
+
+    public void setIcon(File icon)
+    {
+        this.icon = icon;
+    }
+
+
+    public File getIcon()
+    {
+        return icon;
+    }
+
+
+    public void setAuthors(List authors)
+    {
+        this.authors = authors;
+    }
+
+
+    public List getAuthors()
+    {
+        return authors;
+    }
+
+
+    public void setMinimumJavaVersion(String minimumJavaVersion)
+    {
+        this.minimumJavaVersion = minimumJavaVersion;
+    }
+
+
+    public String getMinimumJavaVersion()
+    {
+        return minimumJavaVersion;
+    }
+
+
+    public void setVersion(String version)
+    {
+        this.version = version;
+    }
+
+
+    public String getVersion()
+    {
+        return version;
+    }
+
+
+    public void setUrl(String url)
+    {
+        this.url = url;
+    }
+
+
+    public String getUrl()
+    {
+        return url;
+    }
+
+
+    public void setEmail(String email)
+    {
+        this.email = email;
+    }
+
+
+    public String getEmail()
+    {
+        return email;
+    }
+
+
+    public void setCompany(String company)
+    {
+        this.company = company;
+    }
+
+
+    public String getCompany()
+    {
+        return company;
+    }
+
+
+    public void setDescription(String description)
+    {
+        this.description = description;
+    }
+
+
+    public String getDescription()
+    {
+        return description;
+    }
+
+
+    public void setName(String name)
+    {
+        this.name = name;
+    }
+
+
+    public String getName()
+    {
+        return name;
+    }
+}

Propchange: directory/trunks/apacheds/standalone/installers/plugin/src/main/java/org/apache/directory/server/standalone/installers/Application.java
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message