org.yestech.publish.publisher
Class EpisodicPublisher
java.lang.Object
org.yestech.publish.publisher.BasePublisher
org.yestech.publish.publisher.EpisodicPublisher
- All Implemented Interfaces:
- IPublisher<IFileArtifact>
public class EpisodicPublisher
- extends BasePublisher
- implements IPublisher<IFileArtifact>
Publishes videos to episodic by creating a unique episode with 1 asset under a given show.
- secret - The episodic secret key.
- api_key - The episodic api key
show_id - The episodic show to publish artifacts as episodes too.
Optionally It is possible to save the episodeId and assetId back to the artifact if desired.
The following must be done in order for this functionality to work:
- Make your artfact object implement
IEpisodicArtifact
- Provide an implementation of
IEpisodicArtifactPersister to the publisher
via the setPersister(org.yestech.publish.objectmodel.episodic.IEpisodicArtifactPersister) method.
- Author:
- A.J. Wright
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EpisodicPublisher
public EpisodicPublisher()
publish
public void publish(IFileArtifact artifact)
- Specified by:
publish in interface IPublisher<IFileArtifact>
setArtifactType
public void setArtifactType(ArtifactType artifactType)
setProperties
public void setProperties(PublisherProperties properties)
setPersister
public void setPersister(IEpisodicArtifactPersister persister)
getSecret
public String getSecret()
getApiKey
public String getApiKey()
getShowId
public String getShowId()
getPingUrl
public String getPingUrl()
proxyHost
public String proxyHost()
proxyPort
public String proxyPort()
getArtifactType
public ArtifactType getArtifactType()
getTempDirectory
public File getTempDirectory()
buildEpisodicService
protected org.yestech.episodic.EpisodicService buildEpisodicService()
Copyright © 2010 YES Technology Association. All Rights Reserved.