Added Apache License header Covered by software grant from University of Manchester to ASF
(removed a couple of double headers) Project: http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-component/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-component/commit/28d89a6e Tree: http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-component/tree/28d89a6e Diff: http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-component/diff/28d89a6e Branch: refs/heads/master Commit: 28d89a6e03acb87e1086b95207d1079327b1ba2a Parents: 2de49b3 Author: Stian Soiland-Reyes <[email protected]> Authored: Fri Sep 2 15:03:06 2016 +0100 Committer: Stian Soiland-Reyes <[email protected]> Committed: Fri Sep 2 15:03:06 2016 +0100 ---------------------------------------------------------------------- NOTICE | 8 ++++ taverna-component-activity/pom.xml | 18 --------- .../src/main/catalog/catalog.xml | 18 --------- .../component/activity/ComponentActivity.java | 18 +++++++++ .../ComponentActivityConfigurationBean.java | 18 +++++++++ .../activity/ComponentActivityFactory.java | 18 +++++++++ .../activity/ComponentActivityLocalChecker.java | 18 +++++++++ .../ComponentActivityUpgradeChecker.java | 19 ++++++++- .../activity/ComponentExceptionFactory.java | 23 ++++++++--- .../activity/ComponentHealthCheck.java | 18 +++++++++ .../ComponentImplementationException.java | 23 ++++++++--- .../component/activity/ProxyCallback.java | 19 ++++++++- .../component/activity/package-info.java | 21 +++++++--- .../component/profile/ActivityProfileImpl.java | 38 +++++++++--------- .../component/profile/BaseProfileLocator.java | 23 ++++++++--- .../component/profile/ComponentProfileImpl.java | 38 +++++++++--------- .../component/profile/PortProfileImpl.java | 38 +++++++++--------- .../profile/SemanticAnnotationProfileImpl.java | 38 +++++++++--------- .../component/registry/ClientVersion.java | 18 +++++++++ .../taverna/component/registry/Component.java | 39 +++++++++---------- .../component/registry/ComponentFamily.java | 38 +++++++++--------- .../registry/ComponentImplementationCache.java | 23 ++++++++--- .../component/registry/ComponentRegistry.java | 39 +++++++++---------- .../component/registry/ComponentUtil.java | 18 +++++++++ .../component/registry/ComponentVersion.java | 23 ++++++++--- .../ComponentVersionIdentification.java | 20 +++++++++- .../registry/local/LocalComponent.java | 20 +++++++++- .../registry/local/LocalComponentFamily.java | 21 ++++++++-- .../registry/local/LocalComponentRegistry.java | 22 +++++++++-- .../local/LocalComponentRegistryFactory.java | 18 +++++++++ .../registry/local/LocalComponentVersion.java | 19 ++++++++- .../component/registry/standard/Client.java | 18 +++++++++ .../registry/standard/NewComponent.java | 18 +++++++++ .../registry/standard/NewComponentFamily.java | 18 +++++++++ .../registry/standard/NewComponentLicense.java | 18 +++++++++ .../registry/standard/NewComponentProfile.java | 18 +++++++++ .../registry/standard/NewComponentRegistry.java | 19 ++++++++- .../standard/NewComponentRegistryFactory.java | 18 +++++++++ .../registry/standard/annotations/Unused.java | 18 +++++++++ .../standard/annotations/package-info.java | 18 +++++++++ .../registry/standard/package-info.java | 18 +++++++++ .../component/utils/AnnotationUtils.java | 18 +++++++++ .../taverna/component/utils/SystemUtils.java | 18 +++++++++ .../src/main/resources/BaseProfile.xml | 19 --------- .../src/main/resources/EmptyProfile.xml | 19 --------- .../spring/component-activity-context.xml | 18 --------- .../main/resources/NewMyExperimentSchema.xsd | 19 +++++++++ .../src/main/resources/schema.json | 2 +- .../taverna/component/AnnotationTest.java | 18 +++++++++ .../component/ComponentActivityTest.java | 18 +++++++++ .../component/registry/ComponentFamilyTest.java | 38 +++++++++--------- .../registry/ComponentRegistryTest.java | 38 +++++++++--------- .../component/registry/ComponentTest.java | 38 +++++++++--------- .../registry/ComponentVersionTest.java | 38 +++++++++--------- .../taverna/component/registry/Harness.java | 18 +++++++++ .../local/LocalComponentFamilyTest.java | 38 +++++++++--------- .../local/LocalComponentRegistryTest.java | 38 +++++++++--------- .../registry/local/LocalComponentTest.java | 38 +++++++++--------- .../local/LocalComponentVersionTest.java | 38 +++++++++--------- .../registry/local/RegistrySupport.java | 18 +++++++++ .../standard/NewComponentFamilyTest.java | 18 +++++++++ .../standard/NewComponentRegistryTest.java | 38 +++++++++--------- .../registry/standard/NewComponentTest.java | 18 +++++++++ .../standard/NewComponentVersionTest.java | 18 +++++++++ .../registry/standard/RegistrySupport.java | 18 +++++++++ .../src/test/resources/ValidationComponent.xml | 19 --------- .../src/test/resources/beanshell_test.t2flow | 19 +++++++++ .../src/test/resources/hello_anyone.wfbundle | Bin 10087 -> 14333 bytes taverna-component-repository-api/pom.xml | 18 --------- .../apache/taverna/component/api/Component.java | 18 +++++++++ .../component/api/ComponentException.java | 38 +++++++++--------- .../taverna/component/api/ComponentFactory.java | 18 +++++++++ .../apache/taverna/component/api/Family.java | 18 +++++++++ .../apache/taverna/component/api/License.java | 23 ++++++++--- .../apache/taverna/component/api/NamedItem.java | 18 +++++++++ .../apache/taverna/component/api/Registry.java | 19 +++++++++ .../taverna/component/api/SharingPolicy.java | 19 ++++++++- .../apache/taverna/component/api/Version.java | 18 +++++++++ .../component/api/config/ComponentConfig.java | 18 +++++++++ .../api/config/ComponentPropertyNames.java | 18 +++++++++ .../taverna/component/api/package-info.java | 19 +++++++++ .../component/api/profile/ActivityProfile.java | 18 +++++++++ .../component/api/profile/AnnotatedElement.java | 18 +++++++++ .../api/profile/ExceptionHandling.java | 19 ++++++++- .../api/profile/ExceptionReplacement.java | 20 +++++++++- .../component/api/profile/HandleException.java | 20 +++++++++- .../component/api/profile/PortProfile.java | 19 ++++++++- .../taverna/component/api/profile/Profile.java | 18 +++++++++ .../api/profile/SemanticAnnotationProfile.java | 18 +++++++++ .../src/main/resources/ComponentProfile.xsd | 19 +++++++++ 90 files changed, 1443 insertions(+), 538 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-component/blob/28d89a6e/NOTICE ---------------------------------------------------------------------- diff --git a/NOTICE b/NOTICE index f319f16..fd81544 100644 --- a/NOTICE +++ b/NOTICE @@ -9,3 +9,11 @@ Portions of this software were originally based on the following: These have been licensed to the Apache Software Foundation under a software grant. --------------------------------------------------------- + +TODO: These XSD files are from W3C - which license? + +./taverna-component-repository-api/src/main/catalog/xml.xsd +./taverna-component-repository-api/src/main/catalog/XMLSchema.xsd +./taverna-component-activity/src/main/catalog/xml.xsd +./taverna-component-activity/src/main/catalog/XMLSchema.xsd + http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-component/blob/28d89a6e/taverna-component-activity/pom.xml ---------------------------------------------------------------------- diff --git a/taverna-component-activity/pom.xml b/taverna-component-activity/pom.xml index 0801684..3d05378 100644 --- a/taverna-component-activity/pom.xml +++ b/taverna-component-activity/pom.xml @@ -17,24 +17,6 @@ limitations under the License. --> -<!-- - - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You 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. - ---> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-component/blob/28d89a6e/taverna-component-activity/src/main/catalog/catalog.xml ---------------------------------------------------------------------- diff --git a/taverna-component-activity/src/main/catalog/catalog.xml b/taverna-component-activity/src/main/catalog/catalog.xml index 591d776..c13bdc9 100644 --- a/taverna-component-activity/src/main/catalog/catalog.xml +++ b/taverna-component-activity/src/main/catalog/catalog.xml @@ -17,24 +17,6 @@ limitations under the License. --> -<!-- - - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You 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. - ---> <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"> <system systemId="http://www.w3.org/2001/XMLSchema.xsd" uri="XMLSchema.xsd" /> <public publicId="http://www.w3.org/2001/XMLSchema" uri="XMLSchema.xsd" /> http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-component/blob/28d89a6e/taverna-component-activity/src/main/java/org/apache/taverna/component/activity/ComponentActivity.java ---------------------------------------------------------------------- diff --git a/taverna-component-activity/src/main/java/org/apache/taverna/component/activity/ComponentActivity.java b/taverna-component-activity/src/main/java/org/apache/taverna/component/activity/ComponentActivity.java index 94e95f0..d73e082 100644 --- a/taverna-component-activity/src/main/java/org/apache/taverna/component/activity/ComponentActivity.java +++ b/taverna-component-activity/src/main/java/org/apache/taverna/component/activity/ComponentActivity.java @@ -1,4 +1,22 @@ package org.apache.taverna.component.activity; +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. + */ import static org.apache.log4j.Logger.getLogger; http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-component/blob/28d89a6e/taverna-component-activity/src/main/java/org/apache/taverna/component/activity/ComponentActivityConfigurationBean.java ---------------------------------------------------------------------- diff --git a/taverna-component-activity/src/main/java/org/apache/taverna/component/activity/ComponentActivityConfigurationBean.java b/taverna-component-activity/src/main/java/org/apache/taverna/component/activity/ComponentActivityConfigurationBean.java index 0449e10..c882e41 100644 --- a/taverna-component-activity/src/main/java/org/apache/taverna/component/activity/ComponentActivityConfigurationBean.java +++ b/taverna-component-activity/src/main/java/org/apache/taverna/component/activity/ComponentActivityConfigurationBean.java @@ -1,4 +1,22 @@ package org.apache.taverna.component.activity; +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. + */ import static org.apache.log4j.Logger.getLogger; import static org.apache.taverna.component.api.config.ComponentPropertyNames.COMPONENT_NAME; http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-component/blob/28d89a6e/taverna-component-activity/src/main/java/org/apache/taverna/component/activity/ComponentActivityFactory.java ---------------------------------------------------------------------- diff --git a/taverna-component-activity/src/main/java/org/apache/taverna/component/activity/ComponentActivityFactory.java b/taverna-component-activity/src/main/java/org/apache/taverna/component/activity/ComponentActivityFactory.java index a9f08db..0ba4aa9 100644 --- a/taverna-component-activity/src/main/java/org/apache/taverna/component/activity/ComponentActivityFactory.java +++ b/taverna-component-activity/src/main/java/org/apache/taverna/component/activity/ComponentActivityFactory.java @@ -1,4 +1,22 @@ package org.apache.taverna.component.activity; +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. + */ import java.io.IOException; import java.net.MalformedURLException; http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-component/blob/28d89a6e/taverna-component-activity/src/main/java/org/apache/taverna/component/activity/ComponentActivityLocalChecker.java ---------------------------------------------------------------------- diff --git a/taverna-component-activity/src/main/java/org/apache/taverna/component/activity/ComponentActivityLocalChecker.java b/taverna-component-activity/src/main/java/org/apache/taverna/component/activity/ComponentActivityLocalChecker.java index 60a74bd..720c3c9 100644 --- a/taverna-component-activity/src/main/java/org/apache/taverna/component/activity/ComponentActivityLocalChecker.java +++ b/taverna-component-activity/src/main/java/org/apache/taverna/component/activity/ComponentActivityLocalChecker.java @@ -1,4 +1,22 @@ package org.apache.taverna.component.activity; +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. + */ import static org.apache.taverna.component.activity.ComponentHealthCheck.NON_SHAREABLE; http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-component/blob/28d89a6e/taverna-component-activity/src/main/java/org/apache/taverna/component/activity/ComponentActivityUpgradeChecker.java ---------------------------------------------------------------------- diff --git a/taverna-component-activity/src/main/java/org/apache/taverna/component/activity/ComponentActivityUpgradeChecker.java b/taverna-component-activity/src/main/java/org/apache/taverna/component/activity/ComponentActivityUpgradeChecker.java index 5fbaac5..31e2052 100644 --- a/taverna-component-activity/src/main/java/org/apache/taverna/component/activity/ComponentActivityUpgradeChecker.java +++ b/taverna-component-activity/src/main/java/org/apache/taverna/component/activity/ComponentActivityUpgradeChecker.java @@ -1,7 +1,22 @@ -/** +package org.apache.taverna.component.activity; +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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.apache.taverna.component.activity; import static org.apache.log4j.Logger.getLogger; import static org.apache.taverna.component.activity.ComponentHealthCheck.OUT_OF_DATE; http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-component/blob/28d89a6e/taverna-component-activity/src/main/java/org/apache/taverna/component/activity/ComponentExceptionFactory.java ---------------------------------------------------------------------- diff --git a/taverna-component-activity/src/main/java/org/apache/taverna/component/activity/ComponentExceptionFactory.java b/taverna-component-activity/src/main/java/org/apache/taverna/component/activity/ComponentExceptionFactory.java index ac4b73d..5fb86bc 100644 --- a/taverna-component-activity/src/main/java/org/apache/taverna/component/activity/ComponentExceptionFactory.java +++ b/taverna-component-activity/src/main/java/org/apache/taverna/component/activity/ComponentExceptionFactory.java @@ -1,12 +1,23 @@ -/** - * - */ package org.apache.taverna.component.activity; - -/** - * @author alanrw +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. */ + class ComponentExceptionFactory { private static final String UNEXPECTED_ID = "http://ns.taverna.org.uk/2012/component/unexpected"; http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-component/blob/28d89a6e/taverna-component-activity/src/main/java/org/apache/taverna/component/activity/ComponentHealthCheck.java ---------------------------------------------------------------------- diff --git a/taverna-component-activity/src/main/java/org/apache/taverna/component/activity/ComponentHealthCheck.java b/taverna-component-activity/src/main/java/org/apache/taverna/component/activity/ComponentHealthCheck.java index b33b3e4..c8d0b3d 100644 --- a/taverna-component-activity/src/main/java/org/apache/taverna/component/activity/ComponentHealthCheck.java +++ b/taverna-component-activity/src/main/java/org/apache/taverna/component/activity/ComponentHealthCheck.java @@ -1,4 +1,22 @@ package org.apache.taverna.component.activity; +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. + */ import org.apache.taverna.visit.VisitKind; import org.apache.taverna.visit.Visitor; http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-component/blob/28d89a6e/taverna-component-activity/src/main/java/org/apache/taverna/component/activity/ComponentImplementationException.java ---------------------------------------------------------------------- diff --git a/taverna-component-activity/src/main/java/org/apache/taverna/component/activity/ComponentImplementationException.java b/taverna-component-activity/src/main/java/org/apache/taverna/component/activity/ComponentImplementationException.java index a4e7246..1a59c5a 100644 --- a/taverna-component-activity/src/main/java/org/apache/taverna/component/activity/ComponentImplementationException.java +++ b/taverna-component-activity/src/main/java/org/apache/taverna/component/activity/ComponentImplementationException.java @@ -1,12 +1,23 @@ -/** - * - */ package org.apache.taverna.component.activity; - -/** - * @author alanrw +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. */ + public class ComponentImplementationException extends Exception { public ComponentImplementationException(String string) { super(string); http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-component/blob/28d89a6e/taverna-component-activity/src/main/java/org/apache/taverna/component/activity/ProxyCallback.java ---------------------------------------------------------------------- diff --git a/taverna-component-activity/src/main/java/org/apache/taverna/component/activity/ProxyCallback.java b/taverna-component-activity/src/main/java/org/apache/taverna/component/activity/ProxyCallback.java index 4ffd6c1..c62ad63 100644 --- a/taverna-component-activity/src/main/java/org/apache/taverna/component/activity/ProxyCallback.java +++ b/taverna-component-activity/src/main/java/org/apache/taverna/component/activity/ProxyCallback.java @@ -1,7 +1,22 @@ -/** +package org.apache.taverna.component.activity; +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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.apache.taverna.component.activity; import static org.apache.log4j.Logger.getLogger; http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-component/blob/28d89a6e/taverna-component-activity/src/main/java/org/apache/taverna/component/activity/package-info.java ---------------------------------------------------------------------- diff --git a/taverna-component-activity/src/main/java/org/apache/taverna/component/activity/package-info.java b/taverna-component-activity/src/main/java/org/apache/taverna/component/activity/package-info.java index 7953ef5..02e1b7d 100644 --- a/taverna-component-activity/src/main/java/org/apache/taverna/component/activity/package-info.java +++ b/taverna-component-activity/src/main/java/org/apache/taverna/component/activity/package-info.java @@ -1,8 +1,19 @@ -/** +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 * - */ -/** - * @author stain - * + * 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.apache.taverna.component.activity; \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-component/blob/28d89a6e/taverna-component-activity/src/main/java/org/apache/taverna/component/profile/ActivityProfileImpl.java ---------------------------------------------------------------------- diff --git a/taverna-component-activity/src/main/java/org/apache/taverna/component/profile/ActivityProfileImpl.java b/taverna-component-activity/src/main/java/org/apache/taverna/component/profile/ActivityProfileImpl.java index b829c8e..5e11ff0 100644 --- a/taverna-component-activity/src/main/java/org/apache/taverna/component/profile/ActivityProfileImpl.java +++ b/taverna-component-activity/src/main/java/org/apache/taverna/component/profile/ActivityProfileImpl.java @@ -1,24 +1,22 @@ -/******************************************************************************* - * Copyright (C) 2012 The University of Manchester - * - * Modifications to the initial code base are copyright of their - * respective authors, or their employers as appropriate. - * - * This program 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 program 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 program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 - ******************************************************************************/ package org.apache.taverna.component.profile; +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. + */ import java.util.ArrayList; import java.util.List; http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-component/blob/28d89a6e/taverna-component-activity/src/main/java/org/apache/taverna/component/profile/BaseProfileLocator.java ---------------------------------------------------------------------- diff --git a/taverna-component-activity/src/main/java/org/apache/taverna/component/profile/BaseProfileLocator.java b/taverna-component-activity/src/main/java/org/apache/taverna/component/profile/BaseProfileLocator.java index e8c1354..a45caf7 100644 --- a/taverna-component-activity/src/main/java/org/apache/taverna/component/profile/BaseProfileLocator.java +++ b/taverna-component-activity/src/main/java/org/apache/taverna/component/profile/BaseProfileLocator.java @@ -1,7 +1,22 @@ -/** +package org.apache.taverna.component.profile; +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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.apache.taverna.component.profile; import static java.util.Locale.UK; import static org.apache.commons.httpclient.HttpStatus.SC_OK; @@ -27,10 +42,6 @@ import org.apache.log4j.Logger; import org.apache.taverna.component.api.ComponentException; import org.apache.taverna.configuration.app.ApplicationConfiguration; -/** - * @author alanrw - * - */ public class BaseProfileLocator { private static final String BASE_PROFILE_PATH = "BaseProfile.xml"; private static final String BASE_PROFILE_URI = "http://build.mygrid.org.uk/taverna/BaseProfile.xml"; http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-component/blob/28d89a6e/taverna-component-activity/src/main/java/org/apache/taverna/component/profile/ComponentProfileImpl.java ---------------------------------------------------------------------- diff --git a/taverna-component-activity/src/main/java/org/apache/taverna/component/profile/ComponentProfileImpl.java b/taverna-component-activity/src/main/java/org/apache/taverna/component/profile/ComponentProfileImpl.java index fae98a6..26e2a1d 100644 --- a/taverna-component-activity/src/main/java/org/apache/taverna/component/profile/ComponentProfileImpl.java +++ b/taverna-component-activity/src/main/java/org/apache/taverna/component/profile/ComponentProfileImpl.java @@ -1,24 +1,22 @@ -/******************************************************************************* - * Copyright (C) 2012 The University of Manchester - * - * Modifications to the initial code base are copyright of their - * respective authors, or their employers as appropriate. - * - * This program 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 program 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 program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 - ******************************************************************************/ package org.apache.taverna.component.profile; +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. + */ import static org.apache.jena.rdf.model.ModelFactory.createOntologyModel; import static java.lang.System.identityHashCode; http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-component/blob/28d89a6e/taverna-component-activity/src/main/java/org/apache/taverna/component/profile/PortProfileImpl.java ---------------------------------------------------------------------- diff --git a/taverna-component-activity/src/main/java/org/apache/taverna/component/profile/PortProfileImpl.java b/taverna-component-activity/src/main/java/org/apache/taverna/component/profile/PortProfileImpl.java index b72873c..8207a6f 100644 --- a/taverna-component-activity/src/main/java/org/apache/taverna/component/profile/PortProfileImpl.java +++ b/taverna-component-activity/src/main/java/org/apache/taverna/component/profile/PortProfileImpl.java @@ -1,24 +1,22 @@ -/******************************************************************************* - * Copyright (C) 2012 The University of Manchester - * - * Modifications to the initial code base are copyright of their - * respective authors, or their employers as appropriate. - * - * This program 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 program 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 program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 - ******************************************************************************/ package org.apache.taverna.component.profile; +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. + */ import java.util.ArrayList; import java.util.List; http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-component/blob/28d89a6e/taverna-component-activity/src/main/java/org/apache/taverna/component/profile/SemanticAnnotationProfileImpl.java ---------------------------------------------------------------------- diff --git a/taverna-component-activity/src/main/java/org/apache/taverna/component/profile/SemanticAnnotationProfileImpl.java b/taverna-component-activity/src/main/java/org/apache/taverna/component/profile/SemanticAnnotationProfileImpl.java index d928446..a5cb000 100644 --- a/taverna-component-activity/src/main/java/org/apache/taverna/component/profile/SemanticAnnotationProfileImpl.java +++ b/taverna-component-activity/src/main/java/org/apache/taverna/component/profile/SemanticAnnotationProfileImpl.java @@ -1,24 +1,22 @@ -/******************************************************************************* - * Copyright (C) 2012 The University of Manchester - * - * Modifications to the initial code base are copyright of their - * respective authors, or their employers as appropriate. - * - * This program 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 program 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 program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 - ******************************************************************************/ package org.apache.taverna.component.profile; +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. + */ import static java.io.File.createTempFile; import static org.apache.commons.io.FileUtils.writeStringToFile; http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-component/blob/28d89a6e/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/ClientVersion.java ---------------------------------------------------------------------- diff --git a/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/ClientVersion.java b/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/ClientVersion.java index 5ee9b21..731f3ec 100644 --- a/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/ClientVersion.java +++ b/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/ClientVersion.java @@ -1,4 +1,22 @@ package org.apache.taverna.component.registry; +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. + */ import java.io.IOException; import java.io.InputStream; http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-component/blob/28d89a6e/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/Component.java ---------------------------------------------------------------------- diff --git a/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/Component.java b/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/Component.java index 3750300..4c94287 100644 --- a/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/Component.java +++ b/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/Component.java @@ -1,24 +1,23 @@ -/******************************************************************************* - * Copyright (C) 2012 The University of Manchester - * - * Modifications to the initial code base are copyright of their - * respective authors, or their employers as appropriate. - * - * This program 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 program 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 program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 - ******************************************************************************/ package org.apache.taverna.component.registry; +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. + */ + import static java.util.Collections.synchronizedSortedMap; http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-component/blob/28d89a6e/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/ComponentFamily.java ---------------------------------------------------------------------- diff --git a/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/ComponentFamily.java b/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/ComponentFamily.java index 5c9adda..87cd081 100644 --- a/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/ComponentFamily.java +++ b/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/ComponentFamily.java @@ -1,24 +1,22 @@ -/******************************************************************************* - * Copyright (C) 2012 The University of Manchester - * - * Modifications to the initial code base are copyright of their - * respective authors, or their employers as appropriate. - * - * This program 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 program 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 program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 - ******************************************************************************/ package org.apache.taverna.component.registry; +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. + */ import java.util.ArrayList; import java.util.HashMap; http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-component/blob/28d89a6e/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/ComponentImplementationCache.java ---------------------------------------------------------------------- diff --git a/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/ComponentImplementationCache.java b/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/ComponentImplementationCache.java index 57d6625..c7b4602 100644 --- a/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/ComponentImplementationCache.java +++ b/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/ComponentImplementationCache.java @@ -1,7 +1,22 @@ -/** +package org.apache.taverna.component.registry; +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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.apache.taverna.component.registry; import static java.lang.System.currentTimeMillis; import static org.apache.log4j.Logger.getLogger; @@ -15,10 +30,6 @@ import org.apache.taverna.component.api.Version; import org.apache.taverna.scufl2.api.container.WorkflowBundle; -/** - * @author alanrw - * - */ public class ComponentImplementationCache { private class Entry { WorkflowBundle implementation; http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-component/blob/28d89a6e/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/ComponentRegistry.java ---------------------------------------------------------------------- diff --git a/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/ComponentRegistry.java b/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/ComponentRegistry.java index 48c6c1e..f80ae90 100644 --- a/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/ComponentRegistry.java +++ b/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/ComponentRegistry.java @@ -1,25 +1,22 @@ -/******************************************************************************* - * Copyright (C) 2012 The University of Manchester - * - * Modifications to the initial code base are copyright of their - * respective authors, or their employers as appropriate. - * - * This program 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 program 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 program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 - ******************************************************************************/ package org.apache.taverna.component.registry; - +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. + */ import java.io.File; import java.net.MalformedURLException; import java.net.URL; http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-component/blob/28d89a6e/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/ComponentUtil.java ---------------------------------------------------------------------- diff --git a/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/ComponentUtil.java b/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/ComponentUtil.java index b4e7d6d..3138e7d 100644 --- a/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/ComponentUtil.java +++ b/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/ComponentUtil.java @@ -1,4 +1,22 @@ package org.apache.taverna.component.registry; +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. + */ import java.net.URL; import java.util.HashMap; http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-component/blob/28d89a6e/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/ComponentVersion.java ---------------------------------------------------------------------- diff --git a/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/ComponentVersion.java b/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/ComponentVersion.java index 60e0b65..5950bf8 100644 --- a/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/ComponentVersion.java +++ b/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/ComponentVersion.java @@ -1,17 +1,28 @@ -/** +package org.apache.taverna.component.registry; +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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.apache.taverna.component.registry; import org.apache.taverna.component.api.Component; import org.apache.taverna.component.api.ComponentException; import org.apache.taverna.scufl2.api.container.WorkflowBundle; -/** - * @author alanrw - * - */ public abstract class ComponentVersion implements org.apache.taverna.component.api.Version { private Integer versionNumber; http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-component/blob/28d89a6e/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/ComponentVersionIdentification.java ---------------------------------------------------------------------- diff --git a/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/ComponentVersionIdentification.java b/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/ComponentVersionIdentification.java index 801add9..77e366a 100644 --- a/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/ComponentVersionIdentification.java +++ b/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/ComponentVersionIdentification.java @@ -1,7 +1,23 @@ -/** + +package org.apache.taverna.component.registry; +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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.apache.taverna.component.registry; import java.net.URL; http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-component/blob/28d89a6e/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/local/LocalComponent.java ---------------------------------------------------------------------- diff --git a/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/local/LocalComponent.java b/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/local/LocalComponent.java index 51a7b97..c5274b7 100644 --- a/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/local/LocalComponent.java +++ b/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/local/LocalComponent.java @@ -1,7 +1,23 @@ -/** +package org.apache.taverna.component.registry.local; +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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.apache.taverna.component.registry.local; + import static org.apache.commons.io.FileUtils.readFileToString; import static org.apache.commons.io.FileUtils.writeStringToFile; http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-component/blob/28d89a6e/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/local/LocalComponentFamily.java ---------------------------------------------------------------------- diff --git a/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/local/LocalComponentFamily.java b/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/local/LocalComponentFamily.java index 4727c3d..0e2802e 100644 --- a/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/local/LocalComponentFamily.java +++ b/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/local/LocalComponentFamily.java @@ -1,7 +1,22 @@ -/** - * - */ package org.apache.taverna.component.registry.local; +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. + */ import static org.apache.commons.io.FileUtils.deleteDirectory; import static org.apache.commons.io.FileUtils.readFileToString; http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-component/blob/28d89a6e/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/local/LocalComponentRegistry.java ---------------------------------------------------------------------- diff --git a/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/local/LocalComponentRegistry.java b/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/local/LocalComponentRegistry.java index f4d8997..1fe77e0 100644 --- a/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/local/LocalComponentRegistry.java +++ b/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/local/LocalComponentRegistry.java @@ -1,7 +1,23 @@ -/** - * - */ package org.apache.taverna.component.registry.local; +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. + */ + import static org.apache.commons.io.FileUtils.deleteDirectory; import static org.apache.commons.io.FileUtils.writeStringToFile; http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-component/blob/28d89a6e/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/local/LocalComponentRegistryFactory.java ---------------------------------------------------------------------- diff --git a/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/local/LocalComponentRegistryFactory.java b/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/local/LocalComponentRegistryFactory.java index e8197c1..9da53c6 100644 --- a/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/local/LocalComponentRegistryFactory.java +++ b/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/local/LocalComponentRegistryFactory.java @@ -1,4 +1,22 @@ package org.apache.taverna.component.registry.local; +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. + */ import java.io.File; import java.net.URL; http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-component/blob/28d89a6e/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/local/LocalComponentVersion.java ---------------------------------------------------------------------- diff --git a/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/local/LocalComponentVersion.java b/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/local/LocalComponentVersion.java index cee0c9f..a890285 100644 --- a/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/local/LocalComponentVersion.java +++ b/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/local/LocalComponentVersion.java @@ -1,7 +1,22 @@ -/** +package org.apache.taverna.component.registry.local; +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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.apache.taverna.component.registry.local; import static java.lang.Integer.parseInt; import static org.apache.commons.io.FileUtils.readFileToString; http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-component/blob/28d89a6e/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/standard/Client.java ---------------------------------------------------------------------- diff --git a/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/standard/Client.java b/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/standard/Client.java index a4a2f5f..34d922c 100644 --- a/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/standard/Client.java +++ b/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/standard/Client.java @@ -1,4 +1,22 @@ package org.apache.taverna.component.registry.standard; +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. + */ import static java.lang.Math.min; import static java.lang.String.format; http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-component/blob/28d89a6e/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/standard/NewComponent.java ---------------------------------------------------------------------- diff --git a/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/standard/NewComponent.java b/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/standard/NewComponent.java index a4c4a08..7a70bc7 100644 --- a/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/standard/NewComponent.java +++ b/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/standard/NewComponent.java @@ -1,4 +1,22 @@ package org.apache.taverna.component.registry.standard; +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. + */ import static java.lang.String.format; import static org.apache.taverna.component.registry.standard.NewComponentRegistry.logger; http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-component/blob/28d89a6e/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/standard/NewComponentFamily.java ---------------------------------------------------------------------- diff --git a/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/standard/NewComponentFamily.java b/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/standard/NewComponentFamily.java index 34f57de..911f027 100644 --- a/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/standard/NewComponentFamily.java +++ b/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/standard/NewComponentFamily.java @@ -1,4 +1,22 @@ package org.apache.taverna.component.registry.standard; +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. + */ import static org.apache.taverna.component.utils.SystemUtils.getElementString; http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-component/blob/28d89a6e/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/standard/NewComponentLicense.java ---------------------------------------------------------------------- diff --git a/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/standard/NewComponentLicense.java b/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/standard/NewComponentLicense.java index ddb87c0..7bee937 100644 --- a/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/standard/NewComponentLicense.java +++ b/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/standard/NewComponentLicense.java @@ -1,4 +1,22 @@ package org.apache.taverna.component.registry.standard; +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. + */ import org.apache.taverna.component.api.License; import org.apache.taverna.component.registry.api.LicenseType; http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-component/blob/28d89a6e/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/standard/NewComponentProfile.java ---------------------------------------------------------------------- diff --git a/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/standard/NewComponentProfile.java b/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/standard/NewComponentProfile.java index cade980..fc1c051 100644 --- a/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/standard/NewComponentProfile.java +++ b/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/standard/NewComponentProfile.java @@ -1,4 +1,22 @@ package org.apache.taverna.component.registry.standard; +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. + */ import static org.apache.taverna.component.utils.SystemUtils.getElementString; http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-component/blob/28d89a6e/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/standard/NewComponentRegistry.java ---------------------------------------------------------------------- diff --git a/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/standard/NewComponentRegistry.java b/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/standard/NewComponentRegistry.java index 50cc469..29e3612 100644 --- a/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/standard/NewComponentRegistry.java +++ b/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/standard/NewComponentRegistry.java @@ -1,5 +1,22 @@ package org.apache.taverna.component.registry.standard; - +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. + */ import static org.apache.log4j.Logger.getLogger; import static org.apache.taverna.component.registry.standard.Policy.PRIVATE; import static org.apache.taverna.component.utils.SystemUtils.getElementString; http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-component/blob/28d89a6e/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/standard/NewComponentRegistryFactory.java ---------------------------------------------------------------------- diff --git a/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/standard/NewComponentRegistryFactory.java b/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/standard/NewComponentRegistryFactory.java index 9f245e2..9e413ff 100644 --- a/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/standard/NewComponentRegistryFactory.java +++ b/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/standard/NewComponentRegistryFactory.java @@ -1,4 +1,22 @@ package org.apache.taverna.component.registry.standard; +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. + */ import static org.apache.taverna.component.registry.standard.NewComponentRegistry.jaxbContext; import static org.apache.taverna.component.registry.standard.NewComponentRegistry.logger; http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-component/blob/28d89a6e/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/standard/annotations/Unused.java ---------------------------------------------------------------------- diff --git a/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/standard/annotations/Unused.java b/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/standard/annotations/Unused.java index 4b6fe39..c6b680d 100644 --- a/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/standard/annotations/Unused.java +++ b/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/standard/annotations/Unused.java @@ -1,4 +1,22 @@ package org.apache.taverna.component.registry.standard.annotations; +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. + */ import static java.lang.annotation.ElementType.CONSTRUCTOR; import static java.lang.annotation.ElementType.FIELD; http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-component/blob/28d89a6e/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/standard/annotations/package-info.java ---------------------------------------------------------------------- diff --git a/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/standard/annotations/package-info.java b/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/standard/annotations/package-info.java index ca6704f..518d8a6 100644 --- a/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/standard/annotations/package-info.java +++ b/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/standard/annotations/package-info.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. + */ /** * Miscellaneous annotations on other parts of the component engine. * http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-component/blob/28d89a6e/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/standard/package-info.java ---------------------------------------------------------------------- diff --git a/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/standard/package-info.java b/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/standard/package-info.java index 43a53f7..6c15ce9 100644 --- a/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/standard/package-info.java +++ b/taverna-component-activity/src/main/java/org/apache/taverna/component/registry/standard/package-info.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. + */ /** * This is the new interface to the myExperiment registry, a.k.a. μExperiment. * @author Donal Fellows http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-component/blob/28d89a6e/taverna-component-activity/src/main/java/org/apache/taverna/component/utils/AnnotationUtils.java ---------------------------------------------------------------------- diff --git a/taverna-component-activity/src/main/java/org/apache/taverna/component/utils/AnnotationUtils.java b/taverna-component-activity/src/main/java/org/apache/taverna/component/utils/AnnotationUtils.java index c024e64..1440c32 100644 --- a/taverna-component-activity/src/main/java/org/apache/taverna/component/utils/AnnotationUtils.java +++ b/taverna-component-activity/src/main/java/org/apache/taverna/component/utils/AnnotationUtils.java @@ -1,4 +1,22 @@ package org.apache.taverna.component.utils; +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. + */ import java.io.IOException; import java.io.StringReader; http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-component/blob/28d89a6e/taverna-component-activity/src/main/java/org/apache/taverna/component/utils/SystemUtils.java ---------------------------------------------------------------------- diff --git a/taverna-component-activity/src/main/java/org/apache/taverna/component/utils/SystemUtils.java b/taverna-component-activity/src/main/java/org/apache/taverna/component/utils/SystemUtils.java index 7145b19..d7b622c 100644 --- a/taverna-component-activity/src/main/java/org/apache/taverna/component/utils/SystemUtils.java +++ b/taverna-component-activity/src/main/java/org/apache/taverna/component/utils/SystemUtils.java @@ -1,4 +1,22 @@ package org.apache.taverna.component.utils; +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. + */ import java.io.ByteArrayOutputStream; import java.io.File;
