/**
 * 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.smartdata.actions.hdfs;

import org.smartdata.actions.AbstractActionFactory;

/**
 * Built-in smart actions for HDFS system.
 */
public class HdfsActionFactory extends AbstractActionFactory {

  static {
    addAction("allssd", AllSsdFileAction.class);
    addAction("onessd", OneSsdFileAction.class);
    addAction("archive", ArchiveFileAction.class);
    addAction("stripec", StripErasureCodeFileAction.class);
    addAction("blockec", BlockErasureCodeFileAction.class);
    addAction("cache", CacheFileAction.class);
    addAction("uncache", UncacheFileAction.class);
    addAction("read", ReadFileAction.class);
    addAction("write", WriteFileAction.class);
    addAction("copy", CopyFileAction.class);
    addAction("list", ListFileAction.class);
    addAction("fsck", FsckAction.class);
    addAction("diskbalance", DiskBalanceAction.class);
    addAction("clusterbalance", ClusterBalanceAction.class);
    addAction("checkstorage", CheckStorageAction.class);
    addAction("setstoragepolicy", SetStoragePolicyAction.class);
  }
}

@@ -1184,33 +1184,20 @@
 on(%22
-stripec%22, StripErasureCod
+cache%22, Cach
 eFil
@@ -1231,34 +1231,70 @@
 on(%22
-blockec%22, BlockErasureCode
+uncache%22, UncacheFileAction.class);%0A    addAction(%22read%22, Read
 File
@@ -1319,36 +1319,36 @@
  addAction(%22
-cache%22, Cach
+write%22, Writ
 eFileAction.
@@ -1370,36 +1370,42 @@
 Action(%22
-uncache%22, UncacheFil
+checkstorage%22, CheckStorag
 eAction.
@@ -1404,32 +1404,34 @@
 eAction.class);%0A
+//
     addAction(%22r
@@ -1425,35 +1425,50 @@
  addAction(%22
-read%22, Read
+stripec%22, StripErasureCode
 FileAction.c
@@ -1466,32 +1466,34 @@
 eAction.class);%0A
+//
     addAction(%22w
@@ -1487,36 +1487,49 @@
  addAction(%22
-write%22, Writ
+blockec%22, BlockErasureCod
 eFileAction.
@@ -1528,32 +1528,34 @@
 eAction.class);%0A
+//
     addAction(%22c
@@ -1575,32 +1575,34 @@
 eAction.class);%0A
+//
     addAction(%22l
@@ -1622,32 +1622,34 @@
 eAction.class);%0A
+//
     addAction(%22f
@@ -1665,32 +1665,34 @@
 kAction.class);%0A
+//
     addAction(%22d
@@ -1722,32 +1722,34 @@
 eAction.class);%0A
+//
     addAction(%22c
@@ -1797,65 +1797,10 @@
 s);%0A
-    addAction(%22checkstorage%22, CheckStorageAction.class);%0A
+//
     

Remove not implemented actions