flume-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From esam...@apache.org
Subject svn commit: r1158905 - /incubator/flume/branches/flume-728/flume-ng-node/src/main/java/org/apache/flume/node/DefaultNodeConfiguration.java
Date Wed, 17 Aug 2011 20:55:37 GMT
Author: esammer
Date: Wed Aug 17 20:55:36 2011
New Revision: 1158905

URL: http://svn.apache.org/viewvc?rev=1158905&view=rev
Log:
- Added a default impl of NodeConfiguration. This is probably temporary.

Added:
    incubator/flume/branches/flume-728/flume-ng-node/src/main/java/org/apache/flume/node/DefaultNodeConfiguration.java

Added: incubator/flume/branches/flume-728/flume-ng-node/src/main/java/org/apache/flume/node/DefaultNodeConfiguration.java
URL: http://svn.apache.org/viewvc/incubator/flume/branches/flume-728/flume-ng-node/src/main/java/org/apache/flume/node/DefaultNodeConfiguration.java?rev=1158905&view=auto
==============================================================================
--- incubator/flume/branches/flume-728/flume-ng-node/src/main/java/org/apache/flume/node/DefaultNodeConfiguration.java
(added)
+++ incubator/flume/branches/flume-728/flume-ng-node/src/main/java/org/apache/flume/node/DefaultNodeConfiguration.java
Wed Aug 17 20:55:36 2011
@@ -0,0 +1,46 @@
+package org.apache.flume.node;
+
+public class DefaultNodeConfiguration implements NodeConfiguration {
+
+  private long version;
+  private String name;
+  private String sourceDefinition;
+  private String sinkDefinition;
+
+  @Override
+  public long getVersion() {
+    return version;
+  }
+
+  public void setVersion(long version) {
+    this.version = version;
+  }
+
+  @Override
+  public String getName() {
+    return name;
+  }
+
+  public void setName(String name) {
+    this.name = name;
+  }
+
+  @Override
+  public String getSourceDefinition() {
+    return sourceDefinition;
+  }
+
+  public void setSourceDefinition(String sourceDefinition) {
+    this.sourceDefinition = sourceDefinition;
+  }
+
+  @Override
+  public String getSinkDefinition() {
+    return sinkDefinition;
+  }
+
+  public void setSinkDefinition(String sinkDefinition) {
+    this.sinkDefinition = sinkDefinition;
+  }
+
+}



Mime
View raw message