Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   * OfficeFloor - http://www.officefloor.net
   * Copyright (C) 2005-2011 Daniel Sagenschneider
   *
   * This program is free software: you can redistribute it and/or modify
   * it under the terms of the GNU General Public License as published by
   * the Free Software Foundation, either version 3 of the License, or
   * (at your option) any later version.
   *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
 package net.officefloor.compile.spi.officefloor;
 
Deploys the net.officefloor.frame.api.manage.OfficeFloor.

Author(s):
Daniel Sagenschneider
 
 public interface OfficeFloorDeployer {

Adds a net.officefloor.frame.spi.team.Team.

Parameters:
teamName Name of the net.officefloor.frame.spi.team.Team.
teamSourceClassName Fully qualified class name of the net.officefloor.frame.spi.team.source.TeamSource.
Returns:
Added OfficeFloorTeam.
 
 	OfficeFloorTeam addTeam(String teamNameString teamSourceClassName);

Adds an OfficeFloorManagedObjectSource.

Parameters:
managedObjectSourceName Name of the OfficeFloorManagedObjectSource.
managedObjectSourceClassName Fully qualified class name of the net.officefloor.frame.spi.managedobject.source.ManagedObjectSource.
Returns:
Added OfficeFloorManagedObjectSource.
 
 			String managedObjectSourceNameString managedObjectSourceClassName);

Adds an OfficeFloorInputManagedObject.

Parameters:
inputManagedObjectName Name of the OfficeFloorInputManagedObject.
Returns:
Added OfficeFloorInputManagedObject.
 
 			String inputManagedObjectName);

Adds a DeployedOffice to the net.officefloor.frame.api.manage.OfficeFloor.

Parameters:
officeName Name of the net.officefloor.frame.api.manage.Office.
officeSourceClassName Fully qualified class name of the net.officefloor.compile.spi.office.source.OfficeSource.
officeLocation Location of the net.officefloor.frame.api.manage.Office.
Returns:
Deployed DeployedOffice.
 
 			String officeSourceClassNameString officeLocation);

 
 	void link(ManagedObjectTeam teamOfficeFloorTeam officeFloorTeam);

Links the OfficeFloorInputManagedObject to be input by the OfficeFloorManagedObjectSource.

Parameters:
managedObjectSource OfficeFloorManagedObjectSource.
inputManagedObject OfficeFloorInputManagedObject.
	void link(OfficeFloorManagedObjectSource managedObjectSource,
			OfficeFloorInputManagedObject inputManagedObject);

	void link(ManagedObjectDependency dependency,
			OfficeFloorManagedObject managedObject);

	void link(ManagedObjectDependency dependency,
			OfficeFloorInputManagedObject inputManagedObject);

Links the ManagingOffice to be managed by the DeployedOffice.

Parameters:
managingOffice ManagingOffice.
office DeployedOffice.
	void link(ManagingOffice managingOfficeDeployedOffice office);

	void link(OfficeTeam teamOfficeFloorTeam officeFloorTeam);

	void link(OfficeObject officeObjectOfficeFloorManagedObject managedObject);

	void link(OfficeObject officeObject,
			OfficeFloorInputManagedObject inputManagedObject);

Allows the net.officefloor.compile.spi.officefloor.source.OfficeFloorSource to add an issue in attempting to deploy the net.officefloor.frame.api.manage.OfficeFloor.

This is available to report invalid configuration but continue to deploy the rest of the net.officefloor.frame.api.manage.OfficeFloor.

Parameters:
issueDescription Description of the issue.
assetType net.officefloor.frame.api.build.OfficeFloorIssues.AssetType. May be null if net.officefloor.frame.api.manage.OfficeFloor in general.
assetName Name of the net.officefloor.frame.internal.structure.Asset. May be null if net.officefloor.frame.api.manage.OfficeFloor in general.
	void addIssue(String issueDescriptionAssetType assetTypeString assetName);

Allows the net.officefloor.compile.spi.officefloor.source.OfficeFloorSource to add an issue along with its cause in attempting to deploy the net.officefloor.frame.api.manage.OfficeFloor.

This is available to report invalid configuration but continue to deploy the rest of the net.officefloor.frame.api.manage.OfficeFloor.

Parameters:
issueDescription Description of the issue.
cause Cause of the issue.
assetType net.officefloor.frame.api.build.OfficeFloorIssues.AssetType. May be null if net.officefloor.frame.api.manage.OfficeFloor in general.
assetName Name of the net.officefloor.frame.internal.structure.Asset. May be null if net.officefloor.frame.api.manage.OfficeFloor in general.
	void addIssue(String issueDescriptionThrowable cause,
			AssetType assetTypeString assetName);
New to GrepCode? Check out our FAQ X