View Javadoc

1   /*
2    * JBoss, Home of Professional Open Source.
3    * See the COPYRIGHT.txt file distributed with this work for information
4    * regarding copyright ownership.  Some portions may be licensed
5    * to Red Hat, Inc. under one or more contributor license agreements.
6    * 
7    * This library is free software; you can redistribute it and/or
8    * modify it under the terms of the GNU Lesser General Public
9    * License as published by the Free Software Foundation; either
10   * version 2.1 of the License, or (at your option) any later version.
11   * 
12   * This library is distributed in the hope that it will be useful,
13   * but WITHOUT ANY WARRANTY; without even the implied warranty of
14   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15   * Lesser General Public License for more details.
16   * 
17   * You should have received a copy of the GNU Lesser General Public
18   * License along with this library; if not, write to the Free Software
19   * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
20   * 02110-1301 USA.
21   */
22  package org.modeshape.rhq.plugin.objects;
23  
24  import java.util.Collection;
25  import java.util.List;
26  
27  import org.jboss.managed.api.ManagedOperation;
28  import org.jboss.metatype.api.values.MetaValue;
29  
30  public interface ExecutedResult {
31  	
32  	String getComponentType() ;
33  	
34  	String getOperationName();
35  	
36  	Object getResult();
37  	
38  	void setManagedOperation(ManagedOperation managedOperation);
39  	
40  	List<String> getFieldNameList();
41  	
42  	void setContent(Collection content);
43  	
44  	void setContent(MetaValue content);
45  	
46  	void setContent(String content);
47  	
48  
49  }