pipeline.developerexamples.cloudengine.flowelements.StarSignDataInternal Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pipeline.developerexamples.cloudengine Show documentation
Show all versions of pipeline.developerexamples.cloudengine Show documentation
This example is no longer available in Maven
/* ********************************************************************
* Copyright (C) 2019 51Degrees Mobile Experts Limited.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero 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 Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
* ******************************************************************** */
package pipeline.developerexamples.cloudengine.flowelements;
import pipeline.developerexamples.cloudengine.data.StarSignData;
import fiftyone.pipeline.core.data.FlowData;
import fiftyone.pipeline.engines.data.AspectDataBase;
import fiftyone.pipeline.engines.flowelements.AspectEngine;
import fiftyone.pipeline.engines.services.MissingPropertyService;
import org.slf4j.Logger;
//! [class]
class StarSignDataInternal extends AspectDataBase implements StarSignData {
private String starSign;
public StarSignDataInternal(
Logger logger,
FlowData flowData,
AspectEngine engine,
MissingPropertyService missingPropertyService) {
super(logger, flowData, engine, missingPropertyService);
}
@Override
public String getStarSign() {
return getAs("starsign", String.class);
}
void setStarSign(String starSign) {
put("starsign", starSign);
}
}
//! [class]