blob: 031d4d2c86f590c8758bb5eb30d00ef9b50cc77a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
/*******************************************************************************
* Copyright (c) 2010 IBM Corporation 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:
* IBM Corporation - initial API and implementation
* yyyymmdd bug Email and other contact information
* -------- -------- -----------------------------------------------------------
* 20100303 291954 kchong@ca.ibm.com - Keith Chong, JAX-RS: Implement JAX-RS Facet
* 20100310 291954 ericdp@ca.ibm.com - Eric D. Peters, JAX-RS: Implement JAX-RS Facet
*******************************************************************************/
package org.eclipse.jst.ws.jaxrs.core.internal.project.facet;
import org.eclipse.jst.j2ee.internal.common.classpath.WtpUserLibraryProviderInstallOperationConfig;
import org.eclipse.wst.common.frameworks.datamodel.IDataModel;
public class JAXRSUserLibraryProviderInstallOperationConfig extends
WtpUserLibraryProviderInstallOperationConfig implements IJAXRSSharedLibraryProviderInstallOperationConfig {
public JAXRSUserLibraryProviderInstallOperationConfig() {
// TODO Auto-generated constructor stub
}
private boolean isSharedLibrary = true;
private boolean isDeploy = false;
private IDataModel model = null;
public void setSharedLibrary(boolean isSharedLibrary)
{
this.isSharedLibrary = isSharedLibrary;
// setIncludeWithApplicationEnabled(!isSharedLibrary);
}
public boolean isSharedLibrary()
{
return this.isSharedLibrary;
}
public void setIsDeploy(boolean isDeploy) {
this.isDeploy = isDeploy;
setIncludeWithApplicationEnabled(isDeploy);
}
public boolean isDeploy() {
return this.isDeploy;
}
public void setModel(IDataModel model) {
this.model = model;
}
public IDataModel getModel() {
return model;
}
}
|