Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[340918] deploy-name of EAR projects is ignored during deployment

  • Loading branch information...
commit a5a5924d86f2f7e04206fe0616cc5ab4a341c36c 1 parent 5d1f7d5
@elsony elsony authored
View
45 plugins/org.eclipse.wst.server.core/servercore/org/eclipse/wst/server/core/IModule2.java
@@ -0,0 +1,45 @@
+/*******************************************************************************
+ * Copyright (c) 2013 Red Hat Inc. and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat Inc. - Initial API and implementation
+ *******************************************************************************/
+package org.eclipse.wst.server.core;
+
+/**
+ * A module that provides additional properties.
+ * Variable constants that starts with "PROP_" are reserved for further purpose. Classes
+ * that implements this class should not use variables with this naming convention.
+ *
+ * @see org.eclipse.wst.server.core.IModule
+ * @since 1.5
+ */
+public interface IModule2 extends IModule {
+
+ /**
+ * A property key to store a value for the module name to
+ * be displayed in servertools UI workflows
+ */
+ public static final String PROP_DISPLAY_NAME = "org.eclipse.wst.server.core.displayName";
+
+ /**
+ * A property key to store a value for the preferred name of the module
+ * to be used by publishers when deploying.
+ */
+ public static final String PROP_DEPLOY_NAME = "org.eclipse.wst.server.core.deployName";
+
+ /**
+ * Access a property of the module.
+ *
+ * @param key
+ * @see #PROP_DISPLAY_NAME
+ * @see #PROP_DEPLOY_NAME
+ * @return value of the property with the given key,
+ * or <code>null</code> if the value is not available on this module.
+ */
+ public String getProperty(String key);
+}
Please sign in to comment.
Something went wrong with that request. Please try again.