[jbpm-commits] JBoss JBPM SVN: r3215 - projects/balalaika/trunk/core/src/main/java/org/jboss/balalaika.
do-not-reply at jboss.org
do-not-reply at jboss.org
Fri Dec 5 05:02:33 EST 2008
Author: heiko.braun at jboss.com
Date: 2008-12-05 05:02:33 -0500 (Fri, 05 Dec 2008)
New Revision: 3215
Added:
projects/balalaika/trunk/core/src/main/java/org/jboss/balalaika/IntegrationConfig.java
Log:
Missing classes
Added: projects/balalaika/trunk/core/src/main/java/org/jboss/balalaika/IntegrationConfig.java
===================================================================
--- projects/balalaika/trunk/core/src/main/java/org/jboss/balalaika/IntegrationConfig.java (rev 0)
+++ projects/balalaika/trunk/core/src/main/java/org/jboss/balalaika/IntegrationConfig.java 2008-12-05 10:02:33 UTC (rev 3215)
@@ -0,0 +1,88 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.balalaika;
+
+/**
+ * @author Heiko.Braun <heiko.braun at jboss.com>
+ */
+public class IntegrationConfig
+{
+ private String birtHome = "/Users/hbraun/dev/env/birt-runtime-2_2_2/ReportEngine/";
+ private String reportDir = "/Users/hbraun/dev/prj/jbpm/projects/gwt-console/trunk/server/src/main/resources/";
+ private String outputDir = "/Users/hbraun/balalaika/";
+ private String imageBaseUrl = "http://localhost:8080/gwt-console-server/rs/report/view/image/";
+
+ public String getBirtHome()
+ {
+ return birtHome;
+ }
+
+ public void setBirtHome(String birtHome)
+ {
+ this.birtHome = birtHome;
+ }
+
+ public String getReportDir()
+ {
+ return reportDir;
+ }
+
+ public void setReportDir(String reportDir)
+ {
+ this.reportDir = ensureDirectoryName(reportDir);
+ }
+
+ public String getOutputDir()
+ {
+ return outputDir;
+ }
+
+ public void setOutputDir(String outputDir)
+ {
+ this.outputDir = ensureDirectoryName(outputDir);
+ }
+
+
+ public String getImageBaseUrl()
+ {
+ return imageBaseUrl;
+ }
+
+ public void setImageBaseUrl(String imageBaseUrl)
+ {
+ this.imageBaseUrl = ensureDirectoryName(imageBaseUrl);
+ }
+
+
+ public String getImageDirectory()
+ {
+ return getOutputDir()+"image/";
+ }
+
+ private String ensureDirectoryName(String name)
+ {
+ if(name.endsWith("/"))
+ return name;
+ else
+ return name+"/";
+ }
+}
More information about the jbpm-commits
mailing list