1 package rydeen.plugins.nop;
2
3 import java.net.URL;
4 import java.net.MalformedURLException;
5
6 import rydeen.Arguments;
7 import rydeen.Processor;
8 import rydeen.spi.AbstractProcessorService;
9 import rydeen.utils.Author;
10 import rydeen.utils.Organization;
11 import rydeen.utils.Provider;
12
13
14
15
16
17
18 public class NopProcessorService extends AbstractProcessorService{
19
20
21
22 @Override
23 public String getProcessorName(){
24 return "nop";
25 }
26
27
28
29
30 @Override
31 public String getDescription(){
32 return "何も処理を行わない処理器";
33 }
34
35
36
37
38 @Override
39 public Processor createProcessor(){
40 return new NopProcessor(this);
41 }
42
43
44
45
46 @Override
47 public Provider createProvider(){
48 try{
49 return new Provider(
50 "Example",
51 new Author[] { new Author("Example Author", "author@example.com"), },
52 new Organization("Example Organization", new URL("http://www.example.com"))
53 );
54 } catch(MalformedURLException e){
55 }
56 return Provider.UNKNOWN;
57 }
58
59
60
61
62
63 @Override
64 public Arguments createDefaultArguments(){
65 return new Arguments();
66 }
67 }