aboutsummaryrefslogtreecommitdiffstats
path: root/ajde.core
diff options
context:
space:
mode:
Diffstat (limited to 'ajde.core')
-rw-r--r--ajde.core/src/main/java/org/aspectj/ajde/core/IBuildProgressMonitor.java42
-rw-r--r--ajde.core/src/main/java/org/aspectj/ajde/core/ICompilerConfiguration.java68
2 files changed, 55 insertions, 55 deletions
diff --git a/ajde.core/src/main/java/org/aspectj/ajde/core/IBuildProgressMonitor.java b/ajde.core/src/main/java/org/aspectj/ajde/core/IBuildProgressMonitor.java
index 120dda25a..da45fdf20 100644
--- a/ajde.core/src/main/java/org/aspectj/ajde/core/IBuildProgressMonitor.java
+++ b/ajde.core/src/main/java/org/aspectj/ajde/core/IBuildProgressMonitor.java
@@ -1,17 +1,17 @@
/********************************************************************
- * Copyright (c) 2007 Contributors. All rights reserved.
- * This program and the accompanying materials are made available
- * under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution and is available at
- * http://eclipse.org/legal/epl-v10.html
- *
- * Contributors: IBM Corporation - initial API and implementation
+ * Copyright (c) 2007 Contributors. All rights reserved.
+ * This program and the accompanying materials are made available
+ * under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution and is available at
+ * http://eclipse.org/legal/epl-v10.html
+ *
+ * Contributors: IBM Corporation - initial API and implementation
* Helen Hawkins - initial version (bug 148190)
*******************************************************************/
package org.aspectj.ajde.core;
/**
- * Interface that presents the user with information about the
+ * Interface that presents the user with information about the
* progress of the build
*/
public interface IBuildProgressMonitor {
@@ -19,32 +19,32 @@ public interface IBuildProgressMonitor {
/**
* Start the progress monitor
*/
- public void begin();
-
+ void begin();
+
/**
* Sets the label describing the current progress phase.
*/
- public void setProgressText(String text);
-
+ void setProgressText(String text);
+
/**
* Stop the progress monitor
- *
+ *
* @param wasFullBuild - true if was a full build, false otherwise
*/
- public void finish(boolean wasFullBuild);
-
+ void finish(boolean wasFullBuild);
+
/**
* Sets the current progress done
- *
+ *
* @param percentDone
*/
- public void setProgress(double percentDone);
-
+ void setProgress(double percentDone);
+
/**
* Checks whether the user has chosen to cancel the progress monitor
- *
+ *
* @return true if progress monitor has been cancelled and false otherwise
*/
- public boolean isCancelRequested();
-
+ boolean isCancelRequested();
+
}
diff --git a/ajde.core/src/main/java/org/aspectj/ajde/core/ICompilerConfiguration.java b/ajde.core/src/main/java/org/aspectj/ajde/core/ICompilerConfiguration.java
index 8f8351759..7cd1148a7 100644
--- a/ajde.core/src/main/java/org/aspectj/ajde/core/ICompilerConfiguration.java
+++ b/ajde.core/src/main/java/org/aspectj/ajde/core/ICompilerConfiguration.java
@@ -1,11 +1,11 @@
/********************************************************************
- * Copyright (c) 2007 Contributors. All rights reserved.
- * This program and the accompanying materials are made available
- * under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution and is available at
- * http://eclipse.org/legal/epl-v10.html
- *
- * Contributors: IBM Corporation - initial API and implementation
+ * Copyright (c) 2007 Contributors. All rights reserved.
+ * This program and the accompanying materials are made available
+ * under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution and is available at
+ * http://eclipse.org/legal/epl-v10.html
+ *
+ * Contributors: IBM Corporation - initial API and implementation
* Helen Hawkins - initial version (bug 148190)
*******************************************************************/
package org.aspectj.ajde.core;
@@ -28,90 +28,90 @@ public interface ICompilerConfiguration extends CompilerConfigurationChangeFlags
* For a complete description of the configurable options, see {@link org.aspectj.ajde.core.JavaOptions#getDefaultJavaOptions}
* or {@link org.aspectj.org.eclipse.jdt.core.IJavaProject#getOptions(boolean)}
* </p>
- *
+ *
* @return table of current settings of all options (key type: <code>String</code>; value type: <code>String</code>)
* @see org.aspectj.ajde.core.JavaOptions#getDefaultJavaOptions or
* org.aspectj.org.eclipse.jdt.core.IJavaProject#getOptions(boolean)
*/
- public Map<String,String> getJavaOptionsMap();
+ Map<String,String> getJavaOptionsMap();
/**
* The non-standard options, typically prefaced with -X when used with a command line compiler. The default is no non-standard
* options. Options should be separated by a space, for example "-showWeaveInfo -XnoInline"
*/
- public String getNonStandardOptions();
+ String getNonStandardOptions();
/**
* @return a list of those files to include in the build
*/
- public List<String> getProjectSourceFiles();
+ List<String> getProjectSourceFiles();
/**
* @return a list of those files that should be used to configure a build
*/
- public List<String> getProjectXmlConfigFiles();
+ List<String> getProjectXmlConfigFiles();
/**
* Return a subset of those files we'd get on getProjectSourceFiles() - the subset that have changed since the last build. If
* someone else has already worked out what needs rebuilding, we don't need to do it again by checking all of the
* projectSourceFiles(). Returning an empty list means nothing has changed, returning null means you have no idea what changed
* and the compiler should work it out.
- *
+ *
* @return a subset of those files that would be returned on getProjectSourceFiles() that have actually *changed*
*/
- public List<File> getProjectSourceFilesChanged();
+ List<File> getProjectSourceFilesChanged();
- public String getClasspath();
-
- public String getModulepath();
-
- public String getModuleSourcepath();
+ String getClasspath();
+
+ String getModulepath();
+
+ String getModuleSourcepath();
/**
* @return the IOutputLocationManager associated with this compiler configuration
*/
- public IOutputLocationManager getOutputLocationManager();
+ IOutputLocationManager getOutputLocationManager();
/**
* @return the set of input path elements for this compilation. Set members should be of the type java.io.File. An empty set or
* null is acceptable for this option. From -inpath
*/
- public Set<File> getInpath();
+ Set<File> getInpath();
/**
* @return the output jar file for the compilation results. Return null to leave classfiles unjar'd in output directory From
* -outjar
*/
- public String getOutJar();
+ String getOutJar();
/**
* @return the set of aspect jar files to be used for the compilation. Returning null or an empty set disables this option. Set
* members should be of type java.io.File. From -aspectpath
*/
- public Set<File> getAspectPath();
+ Set<File> getAspectPath();
/**
* Get the set of non-Java resources for this compilation. Set members should be of type java.io.File. An empty set or null is
* acceptable for this option.
- *
+ *
* @return map from unique resource name to absolute path to source resource (String to File)
*/
- public Map<String,File> getSourcePathResources();
+ Map<String,File> getSourcePathResources();
/**
* Returns a set of bit flags indicating what has changed in the configuration since it was previously read. This allows the
* compiler to avoid repeating computation for values that are the same as before.
- *
+ *
* @return set of bit flags, see the constants in @link {@link CompilerConfigurationChangeFlags}. If unsure return EVERYTHING
*/
- public int getConfigurationChanges();
+ int getConfigurationChanges();
/**
* Called by AspectJ once it has processed the configuration object and is ready to do a build. The configuration object may or
* may not be interested in this event. It probably will be if it is correctly tracking changes and answering
* getConfigurationChanges() with something other than EVERYTHING.
*/
- public void configurationRead();
+ void configurationRead();
/**
* Return a List (Strings) of the directory elements on the classpath that are likely to contain modified .class files since the
@@ -119,11 +119,11 @@ public interface ICompilerConfiguration extends CompilerConfigurationChangeFlags
* and the dependency is captured by inclusion of one project on the classpath for the other. When the first project is built,
* we need to check the classpath element on the second projects classpath that represents the bin folder of the first project.
* By explicitly returning a list here we can avoid checking EVERYTHING.
- *
+ *
* @return a list of modified elements that should be checked (can be empty) or null if unknown (and in which case every
* classpath element will be checked)
*/
- public List<String> getClasspathElementsWithModifiedContents();
+ List<String> getClasspathElementsWithModifiedContents();
//
// /**
@@ -134,16 +134,16 @@ public interface ICompilerConfiguration extends CompilerConfigurationChangeFlags
/**
* Return the encoding to use for this project. Return null if the platform default should be used. Example return value "UTF-8"
*/
- public String getProjectEncoding();
+ String getProjectEncoding();
/**
* @return the list of processor classes to execute
*/
- public String getProcessor();
-
+ String getProcessor();
+
/**
* @return the processor path where the specified processor(s) can be found
*/
- public String getProcessorPath();
+ String getProcessorPath();
}