JSF Test Framework: Maven Mock-Generator Plugin 1.1.2

org.jboss.mockgenerator.config
Class MockConfig

java.lang.Object
  extended by org.jboss.mockgenerator.config.MockConfig
All Implemented Interfaces:
Serializable

public class MockConfig
extends Object
implements Serializable

Class MockConfig.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
MockConfig()
           
 
Method Summary
 void addMock(Mock mock)
          Method addMock.
 String getClassPrefix()
          Get the classPrefix field.
 String getMockController()
          Get the mockController field.
 String getMockPackage()
          Get the mockPackage field.
 List getMocks()
          Method getMocks.
 String getModelEncoding()
          Method getModelEncoding.
 void removeMock(Mock mock)
          Method removeMock.
 void setClassPrefix(String classPrefix)
          Set the classPrefix field.
 void setMockController(String mockController)
          Set the mockController field.
 void setMockPackage(String mockPackage)
          Set the mockPackage field.
 void setMocks(List mocks)
          Set the mocks field.
 void setModelEncoding(String modelEncoding)
          Set an encoding used for reading/writing the model.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockConfig

public MockConfig()
Method Detail

addMock

public void addMock(Mock mock)
Method addMock.

Parameters:
mock -

getClassPrefix

public String getClassPrefix()
Get the classPrefix field.

Returns:
String

getMockController

public String getMockController()
Get the mockController field.

Returns:
String

getMockPackage

public String getMockPackage()
Get the mockPackage field.

Returns:
String

getMocks

public List getMocks()
Method getMocks.

Returns:
List

getModelEncoding

public String getModelEncoding()
Method getModelEncoding.

Returns:
the current encoding used when reading/writing this model

removeMock

public void removeMock(Mock mock)
Method removeMock.

Parameters:
mock -

setClassPrefix

public void setClassPrefix(String classPrefix)
Set the classPrefix field.

Parameters:
classPrefix -

setMockController

public void setMockController(String mockController)
Set the mockController field.

Parameters:
mockController -

setMockPackage

public void setMockPackage(String mockPackage)
Set the mockPackage field.

Parameters:
mockPackage -

setMocks

public void setMocks(List mocks)
Set the mocks field.

Parameters:
mocks -

setModelEncoding

public void setModelEncoding(String modelEncoding)
Set an encoding used for reading/writing the model.

Parameters:
modelEncoding -

JSF Test Framework: Maven Mock-Generator Plugin 1.1.2

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.