This repository has been archived by the owner on Apr 22, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JDF-450 - Added an interface for Stacks to hide public setters.
- Loading branch information
danielcoughlin
committed
Aug 26, 2013
1 parent
3edd83f
commit 63a9069
Showing
13 changed files
with
286 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,38 @@ | ||
/* | ||
* JBoss, Home of Professional Open Source | ||
* Copyright 2013, Red Hat, Inc. and/or its affiliates, and individual | ||
* contributors by the @authors tag. See the copyright.txt in the | ||
* distribution for a full listing of individual contributors. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package org.jboss.jdf.stacks.model; | ||
|
||
public interface Archetype { | ||
|
||
public String getId() ; | ||
public String getName() ; | ||
public String getDescription() ; | ||
public String getId(); | ||
|
||
public String getName(); | ||
|
||
public String getDescription(); | ||
|
||
public String getGroupId() ; | ||
public String getGroupId(); | ||
|
||
public String getArtifactId(); | ||
|
||
public String getArtifactId() ; | ||
|
||
public String getRecommendedVersion(); | ||
|
||
public String getRepositoryURL() ; | ||
|
||
public Archetype getBlank() ; | ||
|
||
|
||
public String getRepositoryURL(); | ||
|
||
public Archetype getBlank(); | ||
|
||
} |
27 changes: 22 additions & 5 deletions
27
src/main/java/org/jboss/jdf/stacks/model/ArchetypeVersion.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,34 @@ | ||
/* | ||
* JBoss, Home of Professional Open Source | ||
* Copyright 2013, Red Hat, Inc. and/or its affiliates, and individual | ||
* contributors by the @authors tag. See the copyright.txt in the | ||
* distribution for a full listing of individual contributors. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package org.jboss.jdf.stacks.model; | ||
|
||
import java.util.Properties; | ||
|
||
public interface ArchetypeVersion { | ||
|
||
public String getId(); | ||
public String getId(); | ||
|
||
public Archetype getArchetype(); | ||
public Archetype getArchetype(); | ||
|
||
public String getVersion(); | ||
public String getVersion(); | ||
|
||
public String getRepositoryURL(); | ||
public String getRepositoryURL(); | ||
|
||
public Properties getLabels(); | ||
public Properties getLabels(); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,34 @@ | ||
/* | ||
* JBoss, Home of Professional Open Source | ||
* Copyright 2013, Red Hat, Inc. and/or its affiliates, and individual | ||
* contributors by the @authors tag. See the copyright.txt in the | ||
* distribution for a full listing of individual contributors. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package org.jboss.jdf.stacks.model; | ||
|
||
public interface Bom { | ||
|
||
public String getId(); | ||
public String getId(); | ||
|
||
public String getName(); | ||
public String getName(); | ||
|
||
public String getDescription(); | ||
public String getDescription(); | ||
|
||
public String getGroupId(); | ||
public String getGroupId(); | ||
|
||
public String getArtifactId(); | ||
public String getArtifactId(); | ||
|
||
public String getRecommendedVersion(); | ||
public String getRecommendedVersion(); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,32 @@ | ||
/* | ||
* JBoss, Home of Professional Open Source | ||
* Copyright 2013, Red Hat, Inc. and/or its affiliates, and individual | ||
* contributors by the @authors tag. See the copyright.txt in the | ||
* distribution for a full listing of individual contributors. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package org.jboss.jdf.stacks.model; | ||
|
||
import java.util.Properties; | ||
|
||
public interface BomVersion { | ||
|
||
public String getId(); | ||
public String getId(); | ||
|
||
public Bom getBom(); | ||
public Bom getBom(); | ||
|
||
public String getVersion(); | ||
public String getVersion(); | ||
|
||
public Properties getLabels(); | ||
public Properties getLabels(); | ||
|
||
} |
25 changes: 21 additions & 4 deletions
25
src/main/java/org/jboss/jdf/stacks/model/MajorRelease.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,32 @@ | ||
/* | ||
* JBoss, Home of Professional Open Source | ||
* Copyright 2013, Red Hat, Inc. and/or its affiliates, and individual | ||
* contributors by the @authors tag. See the copyright.txt in the | ||
* distribution for a full listing of individual contributors. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package org.jboss.jdf.stacks.model; | ||
|
||
import java.util.List; | ||
|
||
public interface MajorRelease { | ||
|
||
public String getName(); | ||
public String getName(); | ||
|
||
public String getVersion(); | ||
public String getVersion(); | ||
|
||
public Runtime getRecommendedRuntime(); | ||
public Runtime getRecommendedRuntime(); | ||
|
||
public List<MinorRelease> getMinorReleases(); | ||
public List<MinorRelease> getMinorReleases(); | ||
|
||
} |
23 changes: 20 additions & 3 deletions
23
src/main/java/org/jboss/jdf/stacks/model/MinorRelease.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,28 @@ | ||
/* | ||
* JBoss, Home of Professional Open Source | ||
* Copyright 2013, Red Hat, Inc. and/or its affiliates, and individual | ||
* contributors by the @authors tag. See the copyright.txt in the | ||
* distribution for a full listing of individual contributors. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package org.jboss.jdf.stacks.model; | ||
|
||
public interface MinorRelease { | ||
|
||
public String getName(); | ||
public String getName(); | ||
|
||
public String getVersion(); | ||
public String getVersion(); | ||
|
||
public Runtime getRecommendedRuntime(); | ||
public Runtime getRecommendedRuntime(); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,51 @@ | ||
/* | ||
* JBoss, Home of Professional Open Source | ||
* Copyright 2013, Red Hat, Inc. and/or its affiliates, and individual | ||
* contributors by the @authors tag. See the copyright.txt in the | ||
* distribution for a full listing of individual contributors. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package org.jboss.jdf.stacks.model; | ||
|
||
import java.util.List; | ||
import java.util.Properties; | ||
|
||
public interface Runtime { | ||
|
||
public String getId(); | ||
public String getId(); | ||
|
||
public String getName(); | ||
public String getName(); | ||
|
||
public String getGroupId(); | ||
public String getGroupId(); | ||
|
||
public String getArtifactId(); | ||
public String getArtifactId(); | ||
|
||
public String getVersion(); | ||
public String getVersion(); | ||
|
||
public String getUrl(); | ||
public String getUrl(); | ||
|
||
public String getDownloadUrl(); | ||
public String getDownloadUrl(); | ||
|
||
public Properties getLabels(); | ||
public Properties getLabels(); | ||
|
||
public List<BomVersion> getBoms(); | ||
public List<BomVersion> getBoms(); | ||
|
||
public BomVersion getDefaultBom(); | ||
public BomVersion getDefaultBom(); | ||
|
||
public List<ArchetypeVersion> getArchetypes(); | ||
public List<ArchetypeVersion> getArchetypes(); | ||
|
||
public ArchetypeVersion getDefaultArchetype(); | ||
public ArchetypeVersion getDefaultArchetype(); | ||
|
||
public String getLicense(); | ||
public String getLicense(); | ||
|
||
} |
Oops, something went wrong.