Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/views/build/MojoExecutionNode.java')
-rw-r--r--org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/views/build/MojoExecutionNode.java39
1 files changed, 39 insertions, 0 deletions
diff --git a/org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/views/build/MojoExecutionNode.java b/org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/views/build/MojoExecutionNode.java
new file mode 100644
index 00000000..64631667
--- /dev/null
+++ b/org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/views/build/MojoExecutionNode.java
@@ -0,0 +1,39 @@
+/*******************************************************************************
+ * Copyright (c) 2013 Igor Fedorenko
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Igor Fedorenko - initial API and implementation
+ *******************************************************************************/
+
+package org.eclipse.m2e.core.ui.internal.views.build;
+
+import org.eclipse.m2e.core.project.configurator.MojoExecutionKey;
+
+
+class MojoExecutionNode extends ContainerNode {
+
+ private final MojoExecutionKey mojoExecutionKey;
+
+ private int buildCount;
+
+ public MojoExecutionNode(MojoExecutionKey mojoExecutionKey) {
+ super(mojoExecutionKey.toString());
+ this.mojoExecutionKey = mojoExecutionKey;
+ }
+
+ public MojoExecutionKey getMojoExecutionKey() {
+ return mojoExecutionKey;
+ }
+
+ public synchronized int getBuildCount() {
+ return buildCount;
+ }
+
+ public void setBuildCount(int buildCount) {
+ this.buildCount = buildCount;
+ }
+}

Back to the top