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.internal.structure;
 
Context for a node.

Author(s):
Daniel Sagenschneider
 
 public interface NodeContext {

 
 
 
 
 
Obtains the net.officefloor.compile.spi.office.source.OfficeSource class.

Parameters:
officeSourceName net.officefloor.compile.spi.office.source.OfficeSource class name or an alias to an net.officefloor.compile.spi.office.source.OfficeSource class.
officeLocation Location of the net.officefloor.frame.api.manage.Office for reporting issues.
officeName Name of net.officefloor.frame.api.manage.Office for reporting issues.
Returns:
net.officefloor.compile.spi.office.source.OfficeSource class, or null with issues reported to the net.officefloor.compile.issues.CompilerIssues of this NodeContext.
			String officeSourceNameString officeLocationString officeName);

			String sectionSourceNameString sectionLocationString sectionName);

Obtains the net.officefloor.compile.spi.work.source.WorkSource class.

Parameters:
workSourceName net.officefloor.compile.spi.work.source.WorkSource class name or an alias to a net.officefloor.compile.spi.work.source.WorkSource class.
sectionLocation Location of the net.officefloor.compile.spi.office.OfficeSection requiring the net.officefloor.frame.api.execute.Work for reporting issues.
workName Name of the net.officefloor.frame.api.execute.Work for reporting issues.
Returns:
net.officefloor.compile.spi.work.source.WorkSource class, or null with issues reported to the net.officefloor.compile.issues.CompilerIssues of this NodeContext.
	<S extends WorkSource<?>> Class<S> getWorkSourceClass(
			String workSourceNameString sectionLocationString workName);

Obtains the net.officefloor.compile.work.WorkLoader.

Parameters:
sectionLocation Location of the net.officefloor.compile.spi.office.OfficeSection requiring the net.officefloor.frame.api.execute.Work for reporting issues.
workName Name of the net.officefloor.frame.api.execute.Work for reporting issues.
Returns:
net.officefloor.compile.work.WorkLoader.
	WorkLoader getWorkLoader(String sectionLocationString workName);

			String managedObjectSourceNameLocationType locationType,
			String locationString managedObjectName);

			String locationString managedObjectName);

			String administratorSourceNameString officeLocation,
			String administratorName);

			String administratorName);

Obtains the net.officefloor.frame.spi.team.source.TeamSource class.

Parameters:
teamSourceName net.officefloor.frame.spi.team.source.TeamSource class name or an alias to a net.officefloor.frame.spi.team.source.TeamSource class.
officeFloorLocation Location of the net.officefloor.frame.api.manage.OfficeFloor requiring the net.officefloor.frame.spi.team.source.TeamSource for reporting issues.
teamName Name of net.officefloor.frame.spi.team.Team for reporting issues.
Returns:
net.officefloor.frame.spi.team.source.TeamSource class, or null with issues reported to the net.officefloor.compile.issues.CompilerIssues of this NodeContext.
	<S extends TeamSourceClass<S> getTeamSourceClass(String teamSourceName,
			String officeFloorLocationString teamName);
New to GrepCode? Check out our FAQ X